Minor refactors & reformatting

This commit is contained in:
Henrik Lissner 2020-01-20 01:54:11 -05:00
parent bf85a03f5e
commit dc2b9781ab
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 22 additions and 20 deletions

View file

@ -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.

View file

@ -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))))

View file

@ -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

View file

@ -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