nvim/lua/plugins/treesitter.lua
2024-06-17 15:22:39 +07:00

39 lines
844 B
Lua

return {
{
"nvim-treesitter/nvim-treesitter",
dependencies = {
"RRethy/nvim-treesitter-endwise",
},
opts = {
endwise = {
enable = true,
},
},
},
{
"windwp/nvim-ts-autotag",
opts = {
filetypes = {
"astro",
"glimmer",
"handlebars",
"hbs",
"html",
"javascript",
"javascriptreact",
"jsx",
"markdown",
"php",
"rescript",
"svelte",
"templ",
"tsx",
"typescript",
"typescriptreact",
"vue",
"xml",
},
},
},
}