-
Notifications
You must be signed in to change notification settings - Fork 1
Compiler tries to load integration plugins #1
Copy link
Copy link
Open
Description
Hi,
I was testing this colorscheme and I realized it was loading a bunch of plugins at startup. Looking at the code, I saw that the compiler tries to load all integration plugins with pcall. This is not ideal if the user wants to lazy-load some of the plugins.
I believe you can define highlight groups for plugins without actually loading the plugins themselves. For example, kanagawa does this here.
I liked the modularity of the plugins approach but I think it would be better to just define all plugins' highlights without checking if they are there or not.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels