mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 13:20:44 +00:00
Merge pull request #306 from diniamo/fix-theme-dag
modules/theme: fix dag location
This commit is contained in:
commit
923481640e
2 changed files with 10 additions and 4 deletions
|
@ -49,3 +49,7 @@ Release notes for release 0.7
|
||||||
- Add [ocaml-lsp](https://github.com/ocaml/ocaml-lsp) support.
|
- Add [ocaml-lsp](https://github.com/ocaml/ocaml-lsp) support.
|
||||||
|
|
||||||
- Fix Emac typo
|
- Fix Emac typo
|
||||||
|
|
||||||
|
[diniamo](https://github.com/diniamo):
|
||||||
|
|
||||||
|
- Move the `theme` dag entry to before `luaScript`.
|
||||||
|
|
|
@ -45,10 +45,12 @@ in {
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
vim = {
|
vim = {
|
||||||
startPlugins = [cfg.name];
|
startPlugins = [cfg.name];
|
||||||
luaConfigRC = {
|
configRC.theme = entryBefore ["luaScript"] ''
|
||||||
themeSetup = entryBefore ["theme"] cfg.extraConfig;
|
lua << EOF
|
||||||
theme = supported_themes.${cfg.name}.setup (with cfg; {inherit style transparent;});
|
${cfg.extraConfig}
|
||||||
};
|
${supported_themes.${cfg.name}.setup (with cfg; {inherit style transparent;})}
|
||||||
|
EOF
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue