emacs: Tweak rust-analyzer configuration
This commit is contained in:
parent
ba7053c769
commit
d8b350987e
1 changed files with 2 additions and 4 deletions
|
@ -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))
|
||||||
|
|
Loading…
Reference in a new issue