fix(programs/neovim): add formatting to rust-analyzer
This commit is contained in:
parent
80c28d4f3b
commit
e3f8a2eabb
1 changed files with 1 additions and 0 deletions
|
@ -143,6 +143,7 @@ lspconfig.nixd.setup({
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
lspconfig.rust_analyzer.setup({
|
lspconfig.rust_analyzer.setup({
|
||||||
|
on_attach = lspformat.on_attach,
|
||||||
settings = {
|
settings = {
|
||||||
["rust-analyzer"] = {
|
["rust-analyzer"] = {
|
||||||
check = { command = "clippy" },
|
check = { command = "clippy" },
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue