Configure eglot+rust.
This commit is contained in:
parent
92e3f98271
commit
8743e40381
@ -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")))
|
||||
|
@ -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)
|
||||
;; 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))
|
||||
;; ;;(setq rustic-lsp-client nil)
|
||||
;; (push 'rustic-clippy flycheck-checkers))
|
||||
|
||||
(provide 'lang-rust)
|
||||
;;; lang-rust.el ends here
|
||||
|
Loading…
Reference in New Issue
Block a user