diff options
author | 2018-05-05 21:42:51 -0400 | |
---|---|---|
committer | 2018-05-05 21:42:51 -0400 | |
commit | 284bbe783c54a46fea2dd240c6993f5fecad2640 (patch) | |
tree | 5004ac44584bc1c92afc688f5189614694301052 /init.org | |
parent | 36fca3098e496e85810f533882535aea4d7c5b34 (diff) | |
download | configs-284bbe783c54a46fea2dd240c6993f5fecad2640.tar.gz configs-284bbe783c54a46fea2dd240c6993f5fecad2640.tar.xz configs-284bbe783c54a46fea2dd240c6993f5fecad2640.zip |
[emacs] add flycheck's missing deps (pkg-info & epl) & configure it
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -931,6 +931,17 @@ TODO: break this giant source block down into individual org sections. (setq undo-tree-mode-lighter "")) #+end_src +* Syntax and spell checking +#+begin_src emacs-lisp +(use-package flycheck + :hook (prog-mode . flycheck-mode) + :config + ;; Use the load-path from running Emacs when checking elisp files + (setq flycheck-emacs-lisp-load-path 'inherit) + + ;; Only flycheck when I actually save the buffer + (setq flycheck-check-syntax-automatically '(mode-enabled save))) +#+end_src * Programming modes ** [[https://github.com/leanprover/lean-mode][Lean]] |