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