Enable lsp in js2 mode
This commit is contained in:
parent
edf27ea51c
commit
fa66765d3b
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user