diff --git a/configs/lang-rust.el b/configs/lang-rust.el index 5626de0..0227c0e 100644 --- a/configs/lang-rust.el +++ b/configs/lang-rust.el @@ -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)