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.
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.