diff options
Diffstat (limited to 'users/grfn/emacs.d/rust.el')
-rw-r--r-- | users/grfn/emacs.d/rust.el | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/users/grfn/emacs.d/rust.el b/users/grfn/emacs.d/rust.el index 176aad08043d..9988d16a5327 100644 --- a/users/grfn/emacs.d/rust.el +++ b/users/grfn/emacs.d/rust.el @@ -9,15 +9,16 @@ (+evil-embrace-angle-bracket-modes-hook-h) - (setq lsp-rust-server 'rust-analyzer) + ;; (setq lsp-rust-server 'rust-analyzer) (setq-local whitespace-line-column 100 fill-column 100) - (setq rust-format-show-buffer nil) + ;; (setq rust-format-show-buffer nil) (setq lsp-rust-analyzer-import-merge-behaviour "last" lsp-rust-analyzer-cargo-watch-command "clippy" lsp-rust-analyzer-cargo-watch-args ["--target-dir" "/home/grfn/code/readyset/readyset/target/rust-analyzer"] + rustic-format-trigger 'on-save lsp-ui-doc-enable t) - (rust-enable-format-on-save) + ;; (rust-enable-format-on-save) (lsp)) (add-hook 'rust-mode-hook #'grfn/rust-setup) |