diff options
author | Alan Pearce | 2019-11-08 16:03:43 +0100 |
---|---|---|
committer | Alan Pearce | 2019-11-08 16:03:43 +0100 |
commit | 571c6b9a4d2a2c522ddf8df4a5d1999195c42971 (patch) | |
tree | 84be45c2c5c7bd5c3ff1fee84ab540e589214e63 | |
parent | 842e1c2e7981253e463d946f11676504f1e41bd4 (diff) | |
download | nixfiles-571c6b9a4d2a2c522ddf8df4a5d1999195c42971.tar.lz nixfiles-571c6b9a4d2a2c522ddf8df4a5d1999195c42971.tar.zst nixfiles-571c6b9a4d2a2c522ddf8df4a5d1999195c42971.zip |
Emacs: enable flycheck automatically in lsp modes
-rw-r--r-- | user/emacs/.emacs.d/init.el | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el index 066842d7..f608d4cf 100644 --- a/user/emacs/.emacs.d/init.el +++ b/user/emacs/.emacs.d/init.el @@ -712,6 +712,14 @@ _p_rev _u_pper _=_: upper/lower _r_esolve (flymake-warning-bitmap '(left-vertical-bar compilation-warning)))) (use-package flycheck :custom ((flycheck-highlighting-mode 'sexps)) + :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)) :config (progn (flycheck-define-error-level 'error :severity 100 |