summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-09-21 14:54:24 +0200
committerAlan Pearce2020-09-21 14:54:51 +0200
commitecc259e93106733847a09978a4418a7f31f4cdb2 (patch)
tree7ac1bd920a2517a869b8af8ccde1d704beef3511
parent5db98cd73cb1332764fd92f3ae0ca0febe2ffe4c (diff)
downloadnixfiles-ecc259e93106733847a09978a4418a7f31f4cdb2.tar.lz
nixfiles-ecc259e93106733847a09978a4418a7f31f4cdb2.tar.zst
nixfiles-ecc259e93106733847a09978a4418a7f31f4cdb2.zip
Emacs: fix lsp not initialised in ts files
-rw-r--r--user/emacs/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index 632af5cb..32f77c3f 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -888,6 +888,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
                   lsp-enable-symbol-highlighting nil)
             (add-to-list 'lsp-language-id-configuration '(js-mode . "javascript"))))
 
+(use-package lsp-javascript
+  :after (lsp-mode))
+
 (use-package lsp-ui
   :after lsp-mode
   :ghook ('lsp-mode-hook)