all repos — nixfiles @ 2deac98a534caeba5233be0e8ea7d0687d3ea87e

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

Emacs: enable LSP in more modes
Alan Pearce alan@alanpearce.eu
Fri, 05 Jul 2019 16:16:31 +0200
commit

2deac98a534caeba5233be0e8ea7d0687d3ea87e

parent

99958f8f085fe47bf455b4ee28f57a8244153d98

1 files changed, 4 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -519,7 +519,10 @@ (use-package company-lsp   :commands (company-lsp))
 (use-package lsp-mode
   :ghook ('(typescript-mode-hook
-            js-mode-hook)
+            js-mode-hook
+            css-mode-hook
+            scss-mode-hook
+            html-mode-hook)
           #'lsp)
   :functions (lsp--flymake-setup)
   :gfhook 'lsp--flymake-setup