1
0
mirror of https://github.com/ellmau/nixos.git synced 2025-12-19 09:29:36 +01:00

EMACS: more rust-lsp-options set

Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
Stefan Ellmauthaler 2021-11-06 11:24:10 +01:00
parent ed201e3b5f
commit 99e34c059b

View File

@ -393,6 +393,11 @@
:custom
(rustic-format-trigger 'on-save)
(rustic-flycheck-clippy-params "--message-format=json")
(lsp-rust-analyzer-server-display-inlay-hints t)
(lsp-rust-analyzer-cargo-watch-command "clippy")
(lsp-rust-analyzer-display-parameter-hints t)
(lsp-rust-analyzer-dispaly-chaining-hints t)
(lsp-rust-analyzer-proc-macro-enable t)
:hook
(rustic-mode . company-mode)
(rustic . lsp-rust-analyzer-inlay-hints-mode)