Skip to content

Commit f284a8c

Browse files
committed
use main branch for treesitter
1 parent 3338d39 commit f284a8c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

init.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -940,8 +940,9 @@ require('lazy').setup({
940940
},
941941
{ -- Highlight, edit, and navigate code
942942
'nvim-treesitter/nvim-treesitter',
943+
branch = 'main',
944+
lazy = false,
943945
build = ':TSUpdate',
944-
main = 'nvim-treesitter.configs', -- Sets main module to use for opts
945946
-- [[ Configure Treesitter ]] See `:help nvim-treesitter`
946947
opts = {
947948
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },

0 commit comments

Comments
 (0)