1
0
Fork 0

fix: add more rust LSP configuration

Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
Lucas Sta Maria 2023-07-20 16:13:03 -07:00
parent 7f0b2a0649
commit 5997e83b32
No known key found for this signature in database
GPG key ID: F07FB16A826E3B47

View file

@ -198,7 +198,10 @@
(setq web-mode-content-types-alist '(("jsx" . "\\.js[x]?\\")))
(setq web-mode-markup-indent-offset 2)
(setq lsp-rust-analyzer-cargo-watch-enable t)
(setq lsp-rust-analyzer-cargo-watch-command "clippy")
(setq lsp-rust-analyzer-server-display-inlay-hints t)
(setq lsp-rust-analyzer-inlay-hints-mode t)
;; ====== Hooks ==============================
(add-hook 'after-init-hook 'global-company-mode)