feat: migrate old config

This commit is contained in:
johannes committed 2026-11-13 00:08:06 +01:00
1 parent 1a2ce09da2
commit a593a5aae3
31 files changed
+886 -32

No files matched your search

+17 -1
View File
@@ -1,5 +1,21 @@
-- bacon runs the checker (plugins/lint.lua), so rust-analyzer keeps its default `cargo check`.
return {
settings = {
["rust-analyzer"] = { check = { command = "clippy" } },
["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" },
},
},
},
}