Closed registerGen closed 1 year ago
I'd like to lazy load this plugin on autocmds (Specifically, BufReadPre) but this doesn't work only on the very first buffer attached because of https://github.com/kevinhwang91/nvim-ufo/issues/47#issuecomment-1184050737.
BufReadPre
Detect whether there exists a loaded buffer when this plugin is being loaded and handle this case properly.
No response
Oh I didn't notice the new comments on #47... Simply using BufRead instead resolves this.
BufRead
Sorry :(
Feature description
I'd like to lazy load this plugin on autocmds (Specifically,
BufReadPre
) but this doesn't work only on the very first buffer attached because of https://github.com/kevinhwang91/nvim-ufo/issues/47#issuecomment-1184050737.Describe the solution you'd like
Detect whether there exists a loaded buffer when this plugin is being loaded and handle this case properly.
Additional context
No response