config-neovim/lua/plugins/20-treesitter.lua
2024-08-05 22:20:19 +08:00

22 lines
616 B
Lua

return {
"nvim-treesitter/nvim-treesitter",
name = "nvim-treesitter",
event = "VeryLazy",
build = ":TSUpdate",
opts = {
indent = { enable = true },
highlight = { enable = true },
ensure_installed = {},
auto_install = true,
sync_install = false,
},
--config = function (this, opts)
-- require(this.name .. ".configs").setup(opts);
-- if custom.proxy_url ~= "" then
-- require(this.name .. ".install").command_extra_args = {
-- curl = { "--proxy", custom.proxy_url }
-- }
-- end
--end,
}