-
I notice that rust-analyzer recently got some "assists" that hinder me more than help: https://github.com/rust-lang/rust-analyzer/blob/master/crates/ide/src/typing.rs#L42 - these all emit Is there a way to turn those off? Apparently, VS Code has the setting |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Answering my own question - (add-hook 'rust-ts-mode-hook
(defun asf--turn-off-rust-on-type-formatting ()
(setq-local eglot-ignored-server-capabilities
(cons :documentOnTypeFormattingProvider
eglot-ignored-server-capabilities)))) Is what I ended up doing, and it works nicely. Phew! |
Beta Was this translation helpful? Give feedback.
Answering my own question -
eglot-ignored-server-capabilities
has a setting for this!Is what I ended up doing, and it works nicely. Phew!