feat: try a simpler setup

This commit is contained in:
Carlos Hurtado 2024-06-30 22:52:36 -06:00
parent 333e159314
commit 8ce23e2582
19 changed files with 150 additions and 1284 deletions

View file

@ -0,0 +1,17 @@
local plugin = {"nvim-treesitter/nvim-treesitter"}
plugin.build = ":TsUpdate"
plugin.opts = {
ensure_installed = { "bash", "c", "html", "lua", "luadoc", "markdown", "vim", "vimdoc", "rust", "go", "css" },
auto_install = true,
hightlight = {
enable = true,
additional_vim_regex_highlighting = { "ruby" },
},
indent = { enable = true, disable = { "ruby", "html" }},
}
plugin.config = function(_, opts)
require("nvim-treesitter.install").prefer_git = true
require("nvim-treesitter.configs").setup(opts)
end
return plugin