Enable LSP in rust-mode
This commit is contained in:
parent
6c38b1bf0c
commit
39652658de
@ -584,7 +584,7 @@
|
|||||||
(use-package flycheck :ensure)
|
(use-package flycheck :ensure)
|
||||||
|
|
||||||
(use-package lsp-mode
|
(use-package lsp-mode
|
||||||
:hook ((python-mode html-mode web-mode css-mode js2-mode typescript-mode java-mode) . lsp)
|
:hook ((python-mode html-mode web-mode css-mode js2-mode typescript-mode java-mode rust-mode) . lsp)
|
||||||
:bind (:map lsp-mode-map ("C-M-z" . lsp-compile-in-root))
|
:bind (:map lsp-mode-map ("C-M-z" . lsp-compile-in-root))
|
||||||
:config
|
:config
|
||||||
(setq lsp-prefer-flymake nil
|
(setq lsp-prefer-flymake nil
|
||||||
|
Loading…
Reference in New Issue
Block a user