Skip to content

Conversation

@fyzanshaik
Copy link

Summary

  • Remove incorrect main = 'nvim-treesitter.configs' reference
  • The actual module file is config.lua (singular), not configs.lua
  • This fixes "module 'nvim-treesitter.configs' not found" error on startup
  • lazy.nvim will correctly load plugin using default module path

Issue

Fixes #1732 and resolves widespread issue where users get:

Failed to run `config` for nvim-treesitter
module 'nvim-treesitter.configs' not found

Root Cause

nvim-treesitter plugin renamed its main module from configs.lua to config.lua, but kickstart.nvim still references the old module name.

Testing

  • Verified plugin loads correctly without main specification
  • Confirmed nvim-treesitter functionality works as expected
  • No breaking changes to existing configuration options

- 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
@fyzanshaik
Copy link
Author

Closing as duplicate of #1748 which addresses the same nvim-treesitter configs.lua -> config.lua module rename issue. Thanks to @philwhln for the original fix!

@fyzanshaik fyzanshaik closed this Dec 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Treesitter error on open

1 participant