14 lines
384 B
Lua
14 lines
384 B
Lua
return {
|
|
"nvim-treesitter/nvim-treesitter",
|
|
build = function()
|
|
require("nvim-treesitter.install").update({ with_sync = true })()
|
|
end,
|
|
config = function()
|
|
local config = require("nvim-treesitter.configs")
|
|
config.setup({
|
|
ensure_installed = { "lua", "javascript", "go", "toml", "json", "yaml" },
|
|
highlight = { enable = true },
|
|
indent = { enable = true },
|
|
})
|
|
end,
|
|
}
|