feat: migrate old config
This commit is contained in:
1 parent
1a2ce09da2
commit
92c21d8d6a
31 files changed
+918
-38
No files matched your search
+17
-1
@@ -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" },
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user