19 lines
526 B
Lua
19 lines
526 B
Lua
local plugin = {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
build = function()
|
|
require("nvim-treesitter.install").update({ with_sync = true })()
|
|
end,
|
|
config = function()
|
|
local configs = require("nvim-treesitter.configs")
|
|
|
|
configs.setup({
|
|
ensure_installed = { "c", "lua", "vim", "vimdoc", "query", "elixir", "heex", "javascript", "html" },
|
|
sync_install = false,
|
|
highlight = { enable = true },
|
|
indent = { enable = true },
|
|
})
|
|
end,
|
|
}
|
|
|
|
return { plugin }
|