mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
lib/options: add mkNullOrStr'
variant
This commit is contained in:
parent
9bf7724b98
commit
3a151bbf09
1 changed files with 2 additions and 1 deletions
|
@ -29,7 +29,8 @@ rec {
|
||||||
);
|
);
|
||||||
mkCompositeOption = description: options: mkCompositeOption' { inherit description options; };
|
mkCompositeOption = description: options: mkCompositeOption' { inherit description options; };
|
||||||
|
|
||||||
mkNullOrStr = mkNullOrOption (with nixvimTypes; maybeRaw str);
|
mkNullOrStr' = args: mkNullOrOption' (args // { type = with nixvimTypes; maybeRaw str; });
|
||||||
|
mkNullOrStr = description: mkNullOrStr' { inherit description; };
|
||||||
|
|
||||||
mkNullOrLua =
|
mkNullOrLua =
|
||||||
desc:
|
desc:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue