Remove rustup and bacon from nix tools and the bacon linter mapping that made nvim-lint throw on every Rust buffer. Keep cargo-nextest global for neotest-rust. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
22 lines
665 B
Lua
22 lines
665 B
Lua
-- rust-analyzer runs the checker itself (`cargo check` on save); nvim-lint has no bacon linter.
|
|
return {
|
|
settings = {
|
|
["rust-analyzer"] = {
|
|
cargo = { allFeatures = true, buildScripts = { enable = true } },
|
|
checkOnSave = true,
|
|
diagnostics = { enable = true },
|
|
procMacro = {
|
|
enable = true,
|
|
ignored = {
|
|
["async-trait"] = { "async_trait" },
|
|
["napi-derive"] = { "napi" },
|
|
["async-recursion"] = { "async_recursion" },
|
|
},
|
|
},
|
|
files = {
|
|
excludeDirs = { ".direnv", ".git", ".github", ".gitlab", "bin", "node_modules", "target", "venv", ".venv" },
|
|
},
|
|
},
|
|
},
|
|
}
|