all repos — nixfiles @ 571c6b9a4d2a2c522ddf8df4a5d1999195c42971

System and user configuration, managed by nix and home-manager

Emacs: enable flycheck automatically in lsp modes
Alan Pearce alan@alanpearce.eu
Fri, 08 Nov 2019 16:03:43 +0100
commit

571c6b9a4d2a2c522ddf8df4a5d1999195c42971

parent

842e1c2e7981253e463d946f11676504f1e41bd4

1 files changed, 8 insertions(+), 0 deletions(-)

jump to
M user/emacs/.emacs.d/init.eluser/emacs/.emacs.d/init.el
@@ -712,6 +712,14 @@ :custom ((flymake-error-bitmap '(left-vertical-bar compilation-error))            (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