nvim/lua/plugins/treesitter.lua

39 lines
844 B
Lua
Raw Permalink Normal View History

2024-06-17 15:22:39 +07:00
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",
},
},
},
}