emacs: Tweak rust-analyzer configuration

This commit is contained in:
Erwin Boskma 2024-04-10 21:34:27 +02:00
parent ba7053c769
commit d8b350987e
Signed by: erwin
SSH key fingerprint: SHA256:/Wk1WZdLg+vQHs3in9qq7PsIp8SMzwGSk/RLZ5zPuZk

View file

@ -1357,17 +1357,15 @@ Configure [[https://rust-analyzer.github.io][rust-analyzer]]
:imports (:granularity (:enforce :json-false :group "crate") :imports (:granularity (:enforce :json-false :group "crate")
:group t :merge :group t :merge
(:glob t) (:glob t)
:preferPrelude t
:prefix "plain") :prefix "plain")
:lruCapacity nil
:checkOnSave (:enable t :checkOnSave (:enable t
:command "clippy" :command "clippy"
:allTargets t) :allTargets t)
:inlayHints (:bindingModeHints t :inlayHints (:bindingModeHints t
:chainingHints t :chainingHints t
:lifetimeElisionHints (:enable "always" :useParameterNames :json-false) :lifetimeElisionHints (:enable "always" :useParameterNames t)
:maxLength nil :maxLength nil
:parameterHints :json-false
:renderColons t
:typeHints (:enable t :typeHints (:enable t
:hideClosureInitialization :json-false :hideClosureInitialization :json-false
:hideNamedConstructor :json-false)) :hideNamedConstructor :json-false))