summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2019-07-05 16:16:31 +0200
committerAlan Pearce2019-07-05 16:16:31 +0200
commit2deac98a534caeba5233be0e8ea7d0687d3ea87e (patch)
tree2a46bf0a9085b9c95c73e13395c7c81d41bc7064
parent99958f8f085fe47bf455b4ee28f57a8244153d98 (diff)
downloadnixfiles-2deac98a534caeba5233be0e8ea7d0687d3ea87e.tar.lz
nixfiles-2deac98a534caeba5233be0e8ea7d0687d3ea87e.tar.zst
nixfiles-2deac98a534caeba5233be0e8ea7d0687d3ea87e.zip
Emacs: enable LSP in more modes
-rw-r--r--emacs/.emacs.d/main.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 2671ab98..44076f8f 100644
--- a/emacs/.emacs.d/main.el
+++ b/emacs/.emacs.d/main.el
@@ -519,7 +519,10 @@ With two prefix arguments, write out the day and month name."
   :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