mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +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 @@
|
|||
{
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
helpers,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.plugins.diffview;
|
||||
helpers = import ../helpers.nix {inherit lib;};
|
||||
mkWinConfig = type: width: height: position:
|
||||
with helpers.defaultNullOpts; {
|
||||
type = mkEnum ["split" "float"] type ''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue