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:
parent
3338d39206
commit
4fff86800a
2
init.lua
2
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' },
|
||||
|
|
|
|||
Loading…
Reference in New Issue