From f284a8cbc4e26335c5fb49a4962859c87d75735b Mon Sep 17 00:00:00 2001 From: John Pekcan Date: Fri, 30 May 2025 23:42:02 -0700 Subject: [PATCH] use main branch for treesitter --- init.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b98ffc61..d1dffde1 100644 --- a/init.lua +++ b/init.lua @@ -940,8 +940,9 @@ require('lazy').setup({ }, { -- Highlight, edit, and navigate code 'nvim-treesitter/nvim-treesitter', + branch = 'main', + lazy = false, build = ':TSUpdate', - main = 'nvim-treesitter.configs', -- Sets main module to use for opts -- [[ Configure Treesitter ]] See `:help nvim-treesitter` opts = { ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },