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
This commit is contained in:
fyzanshaik 2025-12-18 22:05:03 +05:30
parent 3338d39206
commit 4fff86800a
1 changed files with 1 additions and 1 deletions

View File

@ -941,7 +941,7 @@ require('lazy').setup({
{ -- Highlight, edit, and navigate code { -- Highlight, edit, and navigate code
'nvim-treesitter/nvim-treesitter', 'nvim-treesitter/nvim-treesitter',
build = ':TSUpdate', 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` -- [[ Configure Treesitter ]] See `:help nvim-treesitter`
opts = { opts = {
ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' }, ensure_installed = { 'bash', 'c', 'diff', 'html', 'lua', 'luadoc', 'markdown', 'markdown_inline', 'query', 'vim', 'vimdoc' },