summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d')
-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