feat(programs/neovim): add rust-analyzer config
This commit is contained in:
parent
a574d4bbc3
commit
b272b4bee0
1 changed files with 7 additions and 0 deletions
|
@ -130,5 +130,12 @@ lspconfig.nixd.setup({
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
lspconfig.rust_analyzer.setup({
|
||||||
|
settings = {
|
||||||
|
["rust-analyzer"] = {
|
||||||
|
check = { command = "clippy" },
|
||||||
|
},
|
||||||
|
},
|
||||||
|
})
|
||||||
|
|
||||||
require("gitsigns").setup()
|
require("gitsigns").setup()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue