From 75a73ea4ffa68a033bf7b6dbcb20ab06ed14daf9 Mon Sep 17 00:00:00 2001 From: ralvescosta Date: Sun, 25 Jan 2026 10:29:41 -0300 Subject: [PATCH] fix: update treesitter config to use setup function --- lua/kickstart/plugins/treesitter.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/kickstart/plugins/treesitter.lua b/lua/kickstart/plugins/treesitter.lua index 7ade3502..48dad055 100644 --- a/lua/kickstart/plugins/treesitter.lua +++ b/lua/kickstart/plugins/treesitter.lua @@ -2,7 +2,9 @@ return { { -- Highlight, edit, and navigate code 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', - main = 'nvim-treesitter.configs', -- Sets main module to use for opts + config = function(_, opts) + require('nvim-treesitter.config').setup(opts) + end, opts = { ensure_installed = { 'bash',