This commit is contained in:
Andrew Haynes
2026-03-22 21:28:10 -04:00
parent e07dbf83c5
commit 3c2c2402e2
28 changed files with 276 additions and 226 deletions
+17
View File
@@ -0,0 +1,17 @@
-- ~/.config/nvim/lsp/rust-analyzer.lua
return {
cmd = { "rust-analyzer" },
filetypes = { "rust" },
root_markers = { "Cargo.toml", ".git" },
settings = {
["rust-analyzer"] = {
diagnostics = {
enable = false, -- As you requested
},
checkOnSave = {
enable = true,
command = "clippy",
},
},
},
}