fix: add more rust LSP configuration
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
This commit is contained in:
parent
7f0b2a0649
commit
5997e83b32
1 changed files with 3 additions and 0 deletions
|
@ -198,7 +198,10 @@
|
||||||
(setq web-mode-content-types-alist '(("jsx" . "\\.js[x]?\\")))
|
(setq web-mode-content-types-alist '(("jsx" . "\\.js[x]?\\")))
|
||||||
(setq web-mode-markup-indent-offset 2)
|
(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-server-display-inlay-hints t)
|
||||||
|
(setq lsp-rust-analyzer-inlay-hints-mode t)
|
||||||
|
|
||||||
;; ====== Hooks ==============================
|
;; ====== Hooks ==============================
|
||||||
(add-hook 'after-init-hook 'global-company-mode)
|
(add-hook 'after-init-hook 'global-company-mode)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue