7334d06b09
Le module completion n'est plus maintenu et rust-analyzer peut fonctionner sans
20 lines
453 B
Lua
20 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
|
|
},
|
|
}
|
|
}
|
|
})
|