mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 20:03:10 +00:00
20 lines
711 B
Lua
20 lines
711 B
Lua
return {
|
|
settings = {
|
|
['rust-analyzer'] = {
|
|
checkOnSave = true,
|
|
check = { command = 'clippy' },
|
|
cargo = { allFeatures = true },
|
|
procMacro = { enable = true },
|
|
diagnostics = { enable = true },
|
|
inlayHints = {
|
|
bindingModeHints = { enable = true },
|
|
chainingHints = { enable = true },
|
|
closingBraceHints = { enable = true },
|
|
closureReturnTypeHints = { enable = 'always' },
|
|
lifetimeElisionHints = { enable = 'always' },
|
|
parameterHints = { enable = true },
|
|
typeHints = { enable = true },
|
|
},
|
|
},
|
|
},
|
|
}
|