Update Rust configuration
This commit is contained in:
parent
a49eeb6bd0
commit
e600665c21
18
nvimrc
18
nvimrc
|
@ -766,6 +766,24 @@ nvim_lsp.gopls.setup{
|
|||
-- Rust
|
||||
nvim_lsp.rust_analyzer.setup{
|
||||
on_attach = on_attach,
|
||||
settings = {
|
||||
["rust-analyzer"] = {
|
||||
imports = {
|
||||
granularity = {
|
||||
group = "module",
|
||||
},
|
||||
prefix = "self",
|
||||
},
|
||||
cargo = {
|
||||
buildScripts = {
|
||||
enable = true,
|
||||
},
|
||||
},
|
||||
procMacro = {
|
||||
enable = true
|
||||
},
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
-- Ruby
|
||||
|
|
Loading…
Reference in New Issue