Minor refactors & reformatting
This commit is contained in:
parent
bf85a03f5e
commit
dc2b9781ab
4 changed files with 22 additions and 20 deletions
|
@ -544,7 +544,8 @@ behavior). Do not set this directly, this is let-bound in `doom-init-theme-h'.")
|
|||
|
||||
(defun doom-init-fonts-h ()
|
||||
"Loads `doom-font'."
|
||||
(cond (doom-font
|
||||
(cond
|
||||
(doom-font
|
||||
(cl-pushnew
|
||||
;; Avoiding `set-frame-font' because it does a lot of extra, expensive
|
||||
;; 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)
|
||||
shell-file-name
|
||||
(if (member "SHELL" envvars)
|
||||
(setq shell-file-name
|
||||
(or (getenv "SHELL") shell-file-name))
|
||||
(or (getenv "SHELL") shell-file-name)
|
||||
shell-file-name))
|
||||
envvars))))
|
||||
|
||||
|
|
|
@ -18,7 +18,8 @@
|
|||
"/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
|
||||
:hook (org-mode markdown-mode rst-mode asciidoc-mode latex-mode)
|
||||
:config
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
neotree-find
|
||||
neo-global--with-buffer
|
||||
neo-global--window-exists-p)
|
||||
:config
|
||||
:init
|
||||
(setq neo-create-file-auto-open nil
|
||||
neo-auto-indent-point nil
|
||||
neo-autorefresh nil
|
||||
|
@ -35,6 +35,7 @@
|
|||
"~$"
|
||||
"^#.*#$"))
|
||||
|
||||
:config
|
||||
(set-popup-rule! "^ ?\\*NeoTree" :ignore t)
|
||||
|
||||
(after! winner
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue