Enable LSP in rust-mode

This commit is contained in:
Adam Goldsmith 2022-02-01 00:05:14 -05:00
parent 6c38b1bf0c
commit 39652658de

View File

@ -584,7 +584,7 @@
(use-package flycheck :ensure)
(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))
:config
(setq lsp-prefer-flymake nil