From 4fff86800a846cd5e904b9fdd6871f8f1262a5ab Mon Sep 17 00:00:00 2001 From: fyzanshaik Date: Thu, 18 Dec 2025 22:05:03 +0530 Subject: [PATCH] fix: remove incorrect nvim-treesitter.configs main module reference - Remove main = 'nvim-treesitter.configs' as the module was renamed to 'config.lua' - The actual module file is nvim-treesitter/config.lua, not configs.lua - This fixes 'module not found' error on startup - lazy.nvim will correctly load the plugin using default module path --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index b98ffc61..44254e8f 100644 --- a/init.lua +++ b/init.lua @@ -941,7 +941,7 @@ require('lazy').setup({ { -- Highlight, edit, and navigate code 'nvim-treesitter/nvim-treesitter', build = ':TSUpdate', - main = 'nvim-treesitter.configs', -- Sets main module to use for opts + -- 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' },