This commit is contained in:
h
2025-07-09 04:26:58 -04:00
parent 98b46ce869
commit 3f2c3f992d
4 changed files with 24 additions and 9 deletions
+10 -4
View File
@@ -79,10 +79,11 @@ local lsp_confs = {
},
settings = {
["rust-analyzer"] = {
checkOnSave = {
command = "clippy",
allTargets = false,
},
checkOnSave = true,
-- checkOnSave = {
-- command = "clippy",
-- allTargets = false,
-- },
cargo = {
features = "all",
}
@@ -111,6 +112,11 @@ local lsp_confs = {
configfiles = { "astro.config.mjs" }
}),
},
-- nargo = {
-- root_dir = find_repo_root({
-- configfiles = { "Nargo.toml" }
-- }),
-- },
eslint = {
root_dir = find_repo_root({
configfiles = { ".eslintrc", ".eslintrc.js", "package.json" }