diffs
This commit is contained in:
+10
-4
@@ -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" }
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user