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 (use-package rust-mode
:defer t :defer t
:ensure t) :ensure t
:config
(setq rust-format-on-save t))
(use-package rustic (use-package rustic
:defer t :defer t
:ensure t :ensure t
:config :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)) (push 'rustic-clippy flycheck-checkers))
(provide 'lang-rust) (provide 'lang-rust)