reformat various files, removing tabs

This commit is contained in:
Gered 2024-12-03 11:16:34 -05:00
parent f3a6bfa427
commit 958780da2d
6 changed files with 18 additions and 15 deletions

View file

@ -20,4 +20,4 @@
;; TODO: figure out what these width/height numbers are exactly. they don't seem to be characters? ;; TODO: figure out what these width/height numbers are exactly. they don't seem to be characters?
(setq default-frame-alist '((width . 165) (setq default-frame-alist '((width . 165)
(height . 59))) (height . 59)))

View file

@ -21,8 +21,9 @@
(use-package corfu (use-package corfu
:ensure t :ensure t
:hook (after-init . global-corfu-mode) :hook (after-init . global-corfu-mode)
:bind (:map corfu-map :bind
("<tab>" . corfu-complete)) ( :map corfu-map
("<tab>" . corfu-complete))
:config :config
(setq tab-always-indent 'complete) (setq tab-always-indent 'complete)
(setq corfu-preview-current nil) (setq corfu-preview-current nil)

View file

@ -1,3 +1,4 @@
(use-package magit (use-package magit
:ensure t :ensure t
:bind (("C-x g" . magit-status))) :bind
(("C-x g" . magit-status)))

View file

@ -25,9 +25,9 @@
"Return a new file path for a given file path. "Return a new file path for a given file path.
If the new path's directory does not exist, this will create them." If the new path's directory does not exist, this will create them."
(let* ((backup-root-dir "~/.emacs.d/backup/") (let* ((backup-root-dir "~/.emacs.d/backup/")
(file-path (replace-regexp-in-string "[A-Za-z]:" "" fpath)) ; remove Windows drive letter (file-path (replace-regexp-in-string "[A-Za-z]:" "" fpath)) ; remove Windows drive letter
(backup-file-path (replace-regexp-in-string "//" "/" (concat backup-root-dir file-path "~")))) (backup-file-path (replace-regexp-in-string "//" "/" (concat backup-root-dir file-path "~"))))
(make-directory (file-name-directory backup-file-path) (make-directory (file-name-directory backup-file-path)
(file-name-directory backup-file-path)) (file-name-directory backup-file-path))
backup-file-path)) backup-file-path))
(setopt make-backup-file-name-function 'get-emacsd-backup-file-name) (setopt make-backup-file-name-function 'get-emacsd-backup-file-name)

View file

@ -4,6 +4,6 @@
;; do not show warnings when installing packages ;; do not show warnings when installing packages
(add-to-list 'display-buffer-alist (add-to-list 'display-buffer-alist
'("\\`\\*\\(Warnings\\|Compile-Log\\)\\*\\'" '("\\`\\*\\(Warnings\\|Compile-Log\\)\\*\\'"
(display-buffer-no-window) (display-buffer-no-window)
(allow-no-window . t))) (allow-no-window . t)))

View file

@ -7,7 +7,7 @@
(add-hook 'text-mode-hook 'visual-line-mode) (add-hook 'text-mode-hook 'visual-line-mode)
(dolist (hook '(text-mode-hook (dolist (hook '(text-mode-hook
prog-mode-hook)) prog-mode-hook))
(add-hook hook 'hl-line-mode)) (add-hook hook 'hl-line-mode))
(setopt x-underline-at-descent-line nil) (setopt x-underline-at-descent-line nil)
@ -77,10 +77,11 @@
(use-package helpful (use-package helpful
:ensure t :ensure t
:bind (([remap describe-function] . helpful-callable) :bind
([remap describe-variable] . helpful-variable) (([remap describe-function] . helpful-callable)
([remap describe-key] . helpful-key) ([remap describe-variable] . helpful-variable)
([remap describe-command] . helpful-command))) ([remap describe-key] . helpful-key)
([remap describe-command] . helpful-command)))
(use-package kind-icon (use-package kind-icon
:ensure t :ensure t