Compare commits

...

2 Commits

Author SHA1 Message Date
diniamo 4ca7c0369a
Merge 3ad242a994 into a86c59457c 2024-06-14 09:52:37 +00:00
diniamo 3ad242a994 modules/theme: fix dag location 2024-06-14 11:52:31 +02:00
1 changed files with 6 additions and 4 deletions

View File

@ -45,10 +45,12 @@ in {
config = mkIf cfg.enable {
vim = {
startPlugins = [cfg.name];
luaConfigRC = {
themeSetup = entryBefore ["theme"] cfg.extraConfig;
theme = supported_themes.${cfg.name}.setup (with cfg; {inherit style transparent;});
};
configRC.theme = entryBefore ["luaScript"] ''
lua << EOF
${cfg.extraConfig}
${supported_themes.${cfg.name}.setup (with cfg; {inherit style transparent;})}
EOF
'';
};
};
}