Enable lsp in js2 mode

This commit is contained in:
Adam Goldsmith 2019-02-19 01:56:47 -05:00
parent edf27ea51c
commit fa66765d3b

View File

@ -490,7 +490,7 @@
(use-package flycheck :ensure) (use-package flycheck :ensure)
(use-package lsp-mode :ensure (use-package lsp-mode :ensure
:hook ((python-mode html-mode web-mode css-mode) . lsp) :hook ((python-mode html-mode web-mode css-mode js2-mode) . lsp)
:config :config
(setq lsp-prefer-flymake nil) (setq lsp-prefer-flymake nil)
(use-package lsp-clients :demand) (use-package lsp-clients :demand)