mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
colorschemes: set the colorscheme as mkDefault to allow for overriding
This commit is contained in:
parent
daa6b0f5cf
commit
ef63d3477f
2 changed files with 2 additions and 2 deletions
|
@ -118,7 +118,7 @@ rec {
|
||||||
require('${luaName}').setup(${toLuaObject cfg.settings})
|
require('${luaName}').setup(${toLuaObject cfg.settings})
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
(optionalAttrs (isColorscheme && (colorscheme != null)) { inherit colorscheme; })
|
(optionalAttrs (isColorscheme && (colorscheme != null)) { colorscheme = mkDefault colorscheme; })
|
||||||
(extraConfig cfg)
|
(extraConfig cfg)
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
|
|
|
@ -105,7 +105,7 @@ with lib;
|
||||||
# does this evaluate package? it would not be desired to evaluate package if we use another package.
|
# does this evaluate package? it would not be desired to evaluate package if we use another package.
|
||||||
extraPlugins = extraPlugins ++ optional (defaultPackage != null) cfg.package;
|
extraPlugins = extraPlugins ++ optional (defaultPackage != null) cfg.package;
|
||||||
}
|
}
|
||||||
(optionalAttrs (isColorscheme && (colorscheme != null)) { inherit colorscheme; })
|
(optionalAttrs (isColorscheme && (colorscheme != null)) { colorscheme = mkDefault colorscheme; })
|
||||||
(extraConfig cfg)
|
(extraConfig cfg)
|
||||||
]);
|
]);
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue