32 lines
714 B
Lua
32 lines
714 B
Lua
return {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
dependencies = {
|
|
{ "windwp/nvim-ts-autotag", config = true }
|
|
},
|
|
build = ":TSUpdate",
|
|
config = function()
|
|
local configs = require("nvim-treesitter.configs")
|
|
|
|
configs.setup {
|
|
ensure_installed = { "lua" },
|
|
highlight = { enable = true },
|
|
|
|
indent = {
|
|
enable = true,
|
|
disable = { "dart" }
|
|
},
|
|
|
|
autotag = { enable = true }
|
|
}
|
|
end,
|
|
opts = {
|
|
ensure_installed = { "lua" },
|
|
auto_install = true,
|
|
|
|
highlight = { enable = true },
|
|
indent = { enable = true },
|
|
|
|
autotag = { enable = true }
|
|
}
|
|
}
|