mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
lib/helpers: remove useless ifNonNull
This commit is contained in:
parent
00016841c9
commit
24350879b1
2 changed files with 1 additions and 3 deletions
|
@ -145,8 +145,6 @@ with lib; rec {
|
|||
then null
|
||||
else y;
|
||||
|
||||
ifNonNull = x: ifNonNull' x x;
|
||||
|
||||
mkCompositeOption = desc: options:
|
||||
mkNullOrOption (types.submodule {inherit options;}) desc;
|
||||
|
||||
|
|
|
@ -906,7 +906,7 @@ in {
|
|||
update_root = updateRoot;
|
||||
ignore_list = ignoreList;
|
||||
};
|
||||
system_open = helpers.ifNonNull systemOpen;
|
||||
system_open = systemOpen;
|
||||
diagnostics = with diagnostics;
|
||||
ifNonNull' cfg.diagnostics {
|
||||
inherit enable;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue