mirror of
https://github.com/NotAShelf/nvf.git
synced 2026-01-02 09:05:55 +00:00
theme/habamax: add neovim builtin theme habamax
This commit is contained in:
parent
0eeb3f2b6c
commit
7e9f0dcb40
2 changed files with 12 additions and 1 deletions
|
|
@ -65,7 +65,10 @@ in {
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
vim = {
|
||||
startPlugins = [cfg.name];
|
||||
startPlugins =
|
||||
if (supportedThemes.${cfg.name} ? builtin) && supportedThemes.${cfg.name}.builtin
|
||||
then []
|
||||
else [cfg.name];
|
||||
luaConfigRC.theme = entryBefore ["pluginConfigs" "lazyConfigs"] ''
|
||||
${cfg.extraConfig}
|
||||
${supportedThemes.${cfg.name}.setup {inherit (cfg) style transparent base16-colors;}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue