diff --git a/configs/init-eglot.el b/configs/init-eglot.el index dc593a6..f945d00 100644 --- a/configs/init-eglot.el +++ b/configs/init-eglot.el @@ -13,6 +13,7 @@ :hook ((css-mode . eglot-ensure) (html-mode . eglot-ensure) (php-mode . eglot-ensure) + (rust-mode . eglot-ensure) (sh-mode . eglot-ensure)) :config (add-to-list 'eglot-server-programs '(php-mode . ("intelephense" "--stdio"))) diff --git a/configs/lang-rust.el b/configs/lang-rust.el index b55baf5..84a45dc 100644 --- a/configs/lang-rust.el +++ b/configs/lang-rust.el @@ -14,15 +14,16 @@ :config (setq rust-format-on-save t)) -(use-package rustic - :defer t - :straight t - :ensure t - :config - ;;(setq rustic-lsp-server 'rls) - ;;(setq rustic-lsp-client 'lsp) - ;;(setq rustic-lsp-client nil) - (push 'rustic-clippy flycheck-checkers)) +;; Rustic es necesario solamente si se usa lsp-mode + flycheck. +;; (use-package rustic +;; :defer t +;; :straight t +;; :ensure t +;; :config +;; ;;(setq rustic-lsp-server 'rls) +;; (setq rustic-lsp-client 'lsp) +;; ;;(setq rustic-lsp-client nil) +;; (push 'rustic-clippy flycheck-checkers)) (provide 'lang-rust) ;;; lang-rust.el ends here