mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-28 11:30:06 +02:00
misc: refactor imports, prefer adding helpers
to args rather than importing it
This commit is contained in:
parent
541b694873
commit
b6724702b4
160 changed files with 697 additions and 736 deletions
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
helpers,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.plugins.navbuddy;
|
||||
helpers = import ../helpers.nix {inherit lib;};
|
||||
|
||||
percentageType = types.ints.between 0 100;
|
||||
mkPercentageOpt = default: helpers.defaultNullOpts.mkNullable percentageType (toString default);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue