40 lines
924 B
Lua
40 lines
924 B
Lua
vim.g.rustaceanvim = {
|
|
server = {
|
|
settings = {
|
|
["rust-analyzer"] = {
|
|
inlayHints = {
|
|
bindingModeHints = {
|
|
enable = false,
|
|
},
|
|
chainingHints = {
|
|
enable = true,
|
|
},
|
|
closingBraceHints = {
|
|
enable = true,
|
|
minLines = 25,
|
|
},
|
|
closureReturnTypeHints = {
|
|
enable = "never",
|
|
},
|
|
lifetimeElisionHints = {
|
|
enable = "never",
|
|
useParameterNames = false,
|
|
},
|
|
maxLength = 25,
|
|
parameterHints = {
|
|
enable = true,
|
|
},
|
|
reborrowHints = {
|
|
enable = "never",
|
|
},
|
|
renderColons = true,
|
|
typeHints = {
|
|
enable = true,
|
|
hideClosureInitialization = false,
|
|
hideNamedConstructor = false,
|
|
},
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|