Skip to content
Discussion options

You must be logged in to vote

Snacks is hard to lazy load. Been trying to figure that out myself.

The issue is that if you are using bigfile or quickfile snacks it needs to be loaded at startup

But Id really like to be able to run some of the other ones on a lazy load trigger.

If you were to use lazy.nvim snacks still would not load lazily, because bigfile would need to be required at startup and this would cause lazy.nvim to load it immediately regardless of what you do. So you can either use bigfile/quickfile OR lazy load it in lazy.nvim, not both...

In short, I think its a plugin design issue with snacks and it cant exactly be lazy loaded, but you can come close sorta, Ill do my best to explain below. Im not sure i…

Replies: 2 comments 11 replies

Comment options

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

Answer selected by BirdeeHub
Comment options

You must be logged in to vote
10 replies
@BirdeeHub
Comment options

@JackTheMico
Comment options

@BirdeeHub
Comment options

@bbaserdem
Comment options

@BirdeeHub
Comment options

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
Converted from issue

This discussion was converted from issue #46 on February 05, 2025 15:00.