mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Minor refactors & reformatting
This commit is contained in:
@ -544,7 +544,8 @@ behavior). Do not set this directly, this is let-bound in `doom-init-theme-h'.")
|
|||||||
|
|
||||||
(defun doom-init-fonts-h ()
|
(defun doom-init-fonts-h ()
|
||||||
"Loads `doom-font'."
|
"Loads `doom-font'."
|
||||||
(cond (doom-font
|
(cond
|
||||||
|
(doom-font
|
||||||
(cl-pushnew
|
(cl-pushnew
|
||||||
;; Avoiding `set-frame-font' because it does a lot of extra, expensive
|
;; Avoiding `set-frame-font' because it does a lot of extra, expensive
|
||||||
;; work we can avoid by setting the font frame parameter instead.
|
;; work we can avoid by setting the font frame parameter instead.
|
||||||
|
@ -456,8 +456,7 @@ unreadable. Returns the names of envvars that were changed."
|
|||||||
exec-path)
|
exec-path)
|
||||||
shell-file-name
|
shell-file-name
|
||||||
(if (member "SHELL" envvars)
|
(if (member "SHELL" envvars)
|
||||||
(setq shell-file-name
|
(or (getenv "SHELL") shell-file-name)
|
||||||
(or (getenv "SHELL") shell-file-name))
|
|
||||||
shell-file-name))
|
shell-file-name))
|
||||||
envvars))))
|
envvars))))
|
||||||
|
|
||||||
|
@ -18,7 +18,8 @@
|
|||||||
"/usr/share/java/languagetool/languagetool-commandline.jar")))))
|
"/usr/share/java/languagetool/languagetool-commandline.jar")))))
|
||||||
|
|
||||||
|
|
||||||
;; Detects weasel words, passive voice and duplicates
|
;; Detects weasel words, passive voice and duplicates. Proselint would be a
|
||||||
|
;; better choice.
|
||||||
(use-package! writegood-mode
|
(use-package! writegood-mode
|
||||||
:hook (org-mode markdown-mode rst-mode asciidoc-mode latex-mode)
|
:hook (org-mode markdown-mode rst-mode asciidoc-mode latex-mode)
|
||||||
:config
|
:config
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
neotree-find
|
neotree-find
|
||||||
neo-global--with-buffer
|
neo-global--with-buffer
|
||||||
neo-global--window-exists-p)
|
neo-global--window-exists-p)
|
||||||
:config
|
:init
|
||||||
(setq neo-create-file-auto-open nil
|
(setq neo-create-file-auto-open nil
|
||||||
neo-auto-indent-point nil
|
neo-auto-indent-point nil
|
||||||
neo-autorefresh nil
|
neo-autorefresh nil
|
||||||
@ -35,6 +35,7 @@
|
|||||||
"~$"
|
"~$"
|
||||||
"^#.*#$"))
|
"^#.*#$"))
|
||||||
|
|
||||||
|
:config
|
||||||
(set-popup-rule! "^ ?\\*NeoTree" :ignore t)
|
(set-popup-rule! "^ ?\\*NeoTree" :ignore t)
|
||||||
|
|
||||||
(after! winner
|
(after! winner
|
||||||
|
Reference in New Issue
Block a user