theme: ensure themes load before lazy plugins

This commit is contained in:
Ching Pei Yang 2024-11-03 18:12:08 +01:00
parent 347a04b62e
commit a4f03076bf
No known key found for this signature in database
GPG key ID: B3841364253DC4C8

View file

@ -66,7 +66,7 @@ in {
config = mkIf cfg.enable {
vim = {
startPlugins = [cfg.name];
luaConfigRC.theme = entryBefore ["pluginConfigs"] ''
luaConfigRC.theme = entryBefore ["pluginConfigs" "lazyConfigs"] ''
${cfg.extraConfig}
${supportedThemes.${cfg.name}.setup {inherit (cfg) style transparent base16-colors;}}
'';