Enable lsp on Rust.
This commit is contained in:
parent
f75b9eda35
commit
290243835f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user