all repos — nixfiles @ ecc259e93106733847a09978a4418a7f31f4cdb2

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

Emacs: fix lsp not initialised in ts files
Alan Pearce alan@alanpearce.eu
Mon, 21 Sep 2020 14:54:24 +0200
commit

ecc259e93106733847a09978a4418a7f31f4cdb2

parent

5db98cd73cb1332764fd92f3ae0ca0febe2ffe4c

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

jump to
M user/emacs/init.eluser/emacs/init.el
@@ -888,6 +888,9 @@ lsp-idle-delay 0.5                   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)