all repos — archive/dotfiles @ 395c4f549aae87786d31853b4813fd064c9df152

Superseded by nixfiles

Emacs: fix lsp configuration
Alan Pearce alan@alanpearce.eu
Wed, 03 Jul 2019 12:14:14 +0200
commit

395c4f549aae87786d31853b4813fd064c9df152

parent

07c32a38ef4e8e99afcd4cbc96cb47c28515539c

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

jump to
M emacs/.emacs.d/main.elemacs/.emacs.d/main.el
@@ -512,8 +512,8 @@ #'lsp)   :custom ((lsp-auto-guess-root t)
            (lsp-prefer-flymake t)
            (lsp-enable-symbol-highlighting nil))
-  :init (progn
-          (add-to-list 'lsp-language-id-configuration '(javascript-mode . "javascript"))))
+  :config (progn
+            (add-to-list 'lsp-language-id-configuration '(javascript-mode . "javascript"))))
 
 (use-package lsp-ui
   :after lsp-mode