summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2019-07-03 12:14:14 +0200
committerAlan Pearce2019-07-03 12:14:14 +0200
commit395c4f549aae87786d31853b4813fd064c9df152 (patch)
treef575452a596f2496d43b762c3aca8197fa065548 /emacs
parent07c32a38ef4e8e99afcd4cbc96cb47c28515539c (diff)
downloaddotfiles-395c4f549aae87786d31853b4813fd064c9df152.tar.lz
dotfiles-395c4f549aae87786d31853b4813fd064c9df152.tar.zst
dotfiles-395c4f549aae87786d31853b4813fd064c9df152.zip
Emacs: fix lsp configuration
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.emacs.d/main.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/emacs/.emacs.d/main.el b/emacs/.emacs.d/main.el
index 45d8171..c4bd5ee 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