summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2023-06-05 16:48:06 +0200
committerAlan Pearce2023-06-05 16:48:06 +0200
commit2f40413e198ce4310389b72cdd6e36e1d4627851 (patch)
treec1ada35f7f849e4a1736c1565ef31d4a50b86015 /user/emacs
parent04297cd105ab1470c74710627c9127c2c09dc263 (diff)
downloadnixfiles-2f40413e198ce4310389b72cdd6e36e1d4627851.tar.lz
nixfiles-2f40413e198ce4310389b72cdd6e36e1d4627851.tar.zst
nixfiles-2f40413e198ce4310389b72cdd6e36e1d4627851.zip
Emacs: don't hook flycheck into modes with LSP integrations
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el10
1 files changed, 1 insertions, 9 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 1c72dcbb..48c1930e 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -891,15 +891,7 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   :config (setq flymake-error-bitmap '(left-vertical-bar compilation-error)
                 flymake-warning-bitmap '(left-vertical-bar compilation-warning)))
 (use-package flycheck
-  :defer 5
-  :ghook ('(typescript-mode-hook
-            dockerfile-mode-hook
-            yaml-mode-hook
-            js-mode-hook
-            css-mode-hook
-            scss-mode-hook
-            html-mode-hook
-            haskell-mode-hook))
+  :defer t
   :config (progn
             (setq flycheck-check-syntax-automatically '(save idle-buffer-switch mode-enabled)
                   flycheck-highlighting-mode 'sexps)