summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-07-11 11:46:00 +0200
committerAlan Pearce2016-07-11 11:46:00 +0200
commitc7882b51fa2bf967d7a357690ecc14e1958a162d (patch)
tree20f8483505be4e4e8ba0537af4fba78839de5670
parentba995d986b533881c949ba4035e35fe36fe4eeb8 (diff)
downloaddotfiles-c7882b51fa2bf967d7a357690ecc14e1958a162d.tar.lz
dotfiles-c7882b51fa2bf967d7a357690ecc14e1958a162d.tar.zst
dotfiles-c7882b51fa2bf967d7a357690ecc14e1958a162d.zip
Emacs: Don’t flycheck whilst idle
-rw-r--r--tag-emacs/emacs.d/init.org4
1 files changed, 3 insertions, 1 deletions
diff --git a/tag-emacs/emacs.d/init.org b/tag-emacs/emacs.d/init.org
index 13f42bf..5efc3d8 100644
--- a/tag-emacs/emacs.d/init.org
+++ b/tag-emacs/emacs.d/init.org
@@ -1636,7 +1636,9 @@ On-the-fly error checking in programming modes?  Yes please.
   (use-package flycheck
     :diminish " ✓"
     :defer 5
-    :config (global-flycheck-mode))
+    :config (progn
+              (global-flycheck-mode)
+              (setq flycheck-check-syntax-automatically '(save new-line mode-enabled))))
 #+END_SRC
 
 ** golang