Enable lsp on Rust.

This commit is contained in:
kj 2022-05-18 03:08:59 -04:00
parent f75b9eda35
commit 290243835f

View File

@ -9,13 +9,17 @@
(use-package rust-mode
:defer t
:ensure t)
:ensure t
:config
(setq rust-format-on-save t))
(use-package rustic
:defer t
:ensure t
:config
(setq rustic-lsp-client nil)
(setq rustic-lsp-server 'rls)
(setq rustic-lsp-client 'lsp)
;;(setq rustic-lsp-client nil)
(push 'rustic-clippy flycheck-checkers))
(provide 'lang-rust)