mirror of
https://github.com/nix-community/nixvim.git
synced 2026-08-29 18:24:17 -05:00
colorschemes: set the colorscheme as mkDefault to allow for overriding
This commit is contained in:
committed by
Gaétan Lepage
parent
daa6b0f5cf
commit
ef63d3477f
@@ -118,7 +118,7 @@ rec {
|
||||
require('${luaName}').setup(${toLuaObject cfg.settings})
|
||||
'';
|
||||
}
|
||||
(optionalAttrs (isColorscheme && (colorscheme != null)) { inherit colorscheme; })
|
||||
(optionalAttrs (isColorscheme && (colorscheme != null)) { colorscheme = mkDefault colorscheme; })
|
||||
(extraConfig cfg)
|
||||
]);
|
||||
};
|
||||
|
||||
+1
-1
@@ -105,7 +105,7 @@ with lib;
|
||||
# does this evaluate package? it would not be desired to evaluate package if we use another package.
|
||||
extraPlugins = extraPlugins ++ optional (defaultPackage != null) cfg.package;
|
||||
}
|
||||
(optionalAttrs (isColorscheme && (colorscheme != null)) { inherit colorscheme; })
|
||||
(optionalAttrs (isColorscheme && (colorscheme != null)) { colorscheme = mkDefault colorscheme; })
|
||||
(extraConfig cfg)
|
||||
]);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user