33 lines
810 B
Lua
33 lines
810 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",
|
|
"json"
|
|
},
|
|
sync_install = false,
|
|
highlight = { enable = true },
|
|
indent = { enable = true },
|
|
auto_install = true,
|
|
})
|
|
end
|
|
}
|