fix(emacs): enable clippy for eglot
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
356d881dd9
commit
ec15656038
1 changed files with 5 additions and 1 deletions
|
@ -5,7 +5,11 @@
|
|||
|
||||
(use-package eglot :straight t
|
||||
:custom-face (eglot-inlay-hint-face ((t (:height 1.0))))
|
||||
:hook ((racket-mode rust-mode irony-mode) . eglot-ensure))
|
||||
:hook ((racket-mode rust-mode irony-mode) . eglot-ensure)
|
||||
:init
|
||||
(add-to-list 'eglot-server-programs
|
||||
'((rust-mode rust-ts-mode)
|
||||
("rust-analyzer" :initializationOptions (:checkOnSave (:command "clippy"))))))
|
||||
(use-package eldoc :straight t
|
||||
:after (eglot))
|
||||
(use-package eldoc-box :straight t
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue