21 lines
453 B
Lua
21 lines
453 B
Lua
|
nvim_lsp.rust_analyzer.setup({
|
||
|
settings = {
|
||
|
["rust-analyzer"] = {
|
||
|
imports = {
|
||
|
granularity = {
|
||
|
group = "module",
|
||
|
},
|
||
|
prefix = "self",
|
||
|
},
|
||
|
cargo = {
|
||
|
buildScripts = {
|
||
|
enable = true,
|
||
|
},
|
||
|
},
|
||
|
procMacro = {
|
||
|
enable = true
|
||
|
},
|
||
|
}
|
||
|
}
|
||
|
})
|