stygio/.config/nvim/lua/plugins/treesitter.lua
2025-06-26 10:09:03 -07:00

21 lines
476 B
Lua

local languages = {"lua"}
local M = {
"nvim-treesitter/nvim-treesitter",
build = function()
require("nvim-treesitter.install").update({ with_sync = true })()
end,
opts = function ()
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = languages,
sync_install = false,
highlight = { enable = true },
indent = { enable = true },
})
end
}
return { M }