1
0
Fork 0
dotfiles/.emacs.d/include/rustconfig.el
Lucas Sta Maria 858ecd3818
feat(emacs): add ocaml and rust configs
Signed-off-by: Lucas Sta Maria <lucas@priime.dev>
2023-12-29 04:57:30 -05:00

16 lines
500 B
EmacsLisp

;;; rustconfig.el --- Configuration for Rust.
;;; Commentary:
;; Configuration for Rust;
;;; Code:
(setq lsp-rust-analyzer-cargo-watch-enable t)
(setq lsp-rust-analyzer-cargo-watch-command "clippy")
;; Inlay hints
(setq lsp-rust-analyzer-server-display-inlay-hints t)
(setq lsp-rust-analyzer-inlay-hints-mode t)
(setq lsp-rust-analyzer-display-chaining-hints t)
(setq lsp-rust-analyzer-parameter-hints t)
(setq lsp-rust-analyzer-display-closure-return-type-hints t)
;;; rustconfig.el ends here