mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-08 16:24:32 +02:00
helpers: fix typo
This commit is contained in:
parent
abd1c4007a
commit
99ebb5f074
1 changed files with 2 additions and 8 deletions
|
@ -161,9 +161,7 @@ with lib; rec {
|
||||||
# documentation
|
# documentation
|
||||||
mkNullableWithRaw = type: mkNullable (maybeRaw type);
|
mkNullableWithRaw = type: mkNullable (maybeRaw type);
|
||||||
|
|
||||||
mkLua = default: desc: let
|
mkLua = default: desc:
|
||||||
defaultDesc = "default: `${default}`";
|
|
||||||
in
|
|
||||||
mkNullOrLua
|
mkNullOrLua
|
||||||
(
|
(
|
||||||
(optionalString (desc != "") ''
|
(optionalString (desc != "") ''
|
||||||
|
@ -175,10 +173,6 @@ with lib; rec {
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
|
||||||
${defaultDesc}
|
|
||||||
''
|
|
||||||
);
|
|
||||||
|
|
||||||
mkLuaFn = default: desc: let
|
mkLuaFn = default: desc: let
|
||||||
defaultDesc = "default: `${default}`";
|
defaultDesc = "default: `${default}`";
|
||||||
in
|
in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue