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" }
+7 -2
View File
@@ -21,14 +21,19 @@ return require('packer').startup({
'mustache/vim-mustache-handlebars'
}
use {
'noir-lang/noir-nvim'
}
use {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate',
config = function()
require("nvim-treesitter.configs").setup({
highlight = { enable = true, disable = { "latex" } },
highlight = { enable = true, disable = { "latex", "ipkg" } },
indent = { enable = true },
ensure_installed = "all",
ensure_installed = {},
ignore_install = { "ipkg" },
})
end