29 lines
459 B
Lua
29 lines
459 B
Lua
vim.g.rustaceanvim = {
|
|
server = {
|
|
settings = {
|
|
['rust-analyzer'] = {
|
|
procMacro = {
|
|
enable = true,
|
|
},
|
|
assist = {
|
|
importEnforceGranularity = true,
|
|
importPrefix = "create"
|
|
},
|
|
cargo = {
|
|
allFeatures = true,
|
|
},
|
|
checkOnSave = {
|
|
command = "clippy",
|
|
allFeatures = true
|
|
},
|
|
inlayHints = {
|
|
lifetimeElisionHints = {
|
|
enable = true,
|
|
useParameterNames = true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|