From 395c4f549aae87786d31853b4813fd064c9df152 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Wed, 3 Jul 2019 12:14:14 +0200 Subject: Emacs: fix lsp configuration --- emacs/.emacs.d/main.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'emacs') diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el index 45d81710..c4bd5ee0 100644 --- a/emacs/.emacs.d/main.el +++ b/emacs/.emacs.d/main.el @@ -512,8 +512,8 @@ With two prefix arguments, write out the day and month name." :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 -- cgit 1.4.1