Skip to content

when is extras/lang/xxx.lua executed? #3137

Answered by dpetka2001
ssh352 asked this question in Q&A
Discussion options

You must be logged in to vote

Every LazyExtra is usually a combination of different plugins specs. For example the nvim-treesitter plugin spec will run even if you open another file, because it will need to enable the necessary parser for the corresponding language. And even in an empty buffer it will still run because it's loaded on VeryLazy, it will just not use any parser in an empty buffer until the filetype of that opened buffer is determined (which is usually done when you assign a name to the empty buffer).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ssh352
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