Skip to content
Discussion options

You must be logged in to vote

opts = {} means that the default config function will be used. The default config function will do require("main_lua_module").setup().

The main Lua module is the module where the setup function is defined and called upon. For the case of nvim-treesitter (for master branch at least as it used to be the case), the setup function was defined in nvim-treesitter.configs module and not nvim-treesitter. By default lazy.nvim assumes that it's usually defined in the top-level module (that would be nvim-treesitter, but not all plugins do that because it's just a convention after all and not followed through by all plugin authors as they might have different preferences with regards to the design of…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by tbelvin2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants