nvim-config11/lua/plugins/treesitter.lua

32 lines
786 B
Lua

return {
'nvim-treesitter/nvim-treesitter',
run = ':TSUpdate',
config = function()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = {
"c",
"lua",
"vim",
"vimdoc",
"query",
"elixir",
"heex",
"javascript",
"html",
"markdown",
"markdown_inline",
"html",
"jsdoc",
"hurl",
"typescript"
},
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
auto_install = true,
})
end
}