Skip to content

Confusion between Lazy Loading Vs after/plugin/* #131

Answered by folke
vignesh0025 asked this question in Q&A
Discussion options

You must be logged in to vote

This all works as it works with regular Neovim packages. So the /after files in your rtp are always sourced during startup. Not sure if I understand your question.

If you do a require("treesitter") in an /after file, then that would basically load treesitter at startup.

If you want to lazy-load it, you need to do your config in config() as is explained in the docs.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@vignesh0025
Comment options

Answer selected by folke
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants