Compare commits

...

2 Commits

Author SHA1 Message Date
diniamo 5e98f9cc50
Merge d6cd853520 into a86c59457c 2024-06-16 11:46:24 +00:00
diniamo d6cd853520 modules/theme: fix dag location 2024-06-16 13:46:20 +02:00
2 changed files with 10 additions and 4 deletions

View File

@ -49,3 +49,7 @@ Release notes for release 0.7
- Add [ocaml-lsp](https://github.com/ocaml/ocaml-lsp) support.
- Fix Emac typo
[diniamo](https://github.com/diniamo):
- Move the `theme` dag entry to before `luaScript`.

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
'';
};
};
}