1
0
Fork 0
forked from ahurac/dotfiles
ahuarc-dotfiles/config/nvim/lua/lsp/rust.lua

21 lines
453 B
Lua
Raw Normal View History

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