summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-11-12 14:36:16 +0100
committerAlan Pearce2019-11-12 14:36:16 +0100
commit42939d1004c2106e0857ed5a88bb947eed75a9e2 (patch)
tree3438c72468ad7acc6135f108f3e551a3433fea34 /user/emacs
parent1faec3990c31b004118a4adc5b0103f18d91e04f (diff)
downloadnixfiles-42939d1004c2106e0857ed5a88bb947eed75a9e2.tar.lz
nixfiles-42939d1004c2106e0857ed5a88bb947eed75a9e2.tar.zst
nixfiles-42939d1004c2106e0857ed5a88bb947eed75a9e2.zip
Emacs: reduce flycheck frequency
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/.emacs.d/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index 701156a3..6a39073f 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -737,6 +737,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             html-mode-hook
             haskell-mode-hook))
   :config (progn
+            (setq flycheck-check-syntax-automatically '(save idle-change idle-buffer-switch mode-enabled))
             (flycheck-define-error-level 'error
               :severity 100
               :compilation-level 2