chore: uptodate v5

This commit is contained in:
huyjaky
2025-08-22 14:43:56 +07:00
commit e553f7585d
38 changed files with 1730 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
-- Customize Treesitter
---@type LazySpec
return {
{
"nvim-treesitter/nvim-treesitter",
dependencies = {},
opts = function(_, opts)
-- add more things to the ensure_installed table protecting against community packs modifying it
opts.ignore_install = { "help" }
opts.ensure_installed = require("astrocore").list_insert_unique(opts.ensure_installed, {
-- "lua",
-- "c",
-- "cpp",
"python",
"latex",
-- "javascript",
})
opts.highlight = {
enable = true,
disable = { "c", "rust", "tsx", "javascript" },
additional_vim_regex_highlighting = false,
custom_captures = {
-- Highlight local variables
["variable.local"] = "Identifier",
},
}
vim.api.nvim_set_hl(0, "Identifier", { fg = "#55ffff" })
end,
},
}