mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-29 20:04:28 +02:00
helpers: remove useless comments for certain options
This commit is contained in:
parent
5ae4714e80
commit
8104e24adc
1 changed files with 0 additions and 6 deletions
|
@ -134,8 +134,6 @@ with lib; rec {
|
||||||
''
|
''
|
||||||
);
|
);
|
||||||
|
|
||||||
# Note that this function is _not_ to be used with submodule elements, as it may obstruct the
|
|
||||||
# documentation
|
|
||||||
mkNullableWithRaw = type: mkNullable (maybeRaw type);
|
mkNullableWithRaw = type: mkNullable (maybeRaw type);
|
||||||
|
|
||||||
mkStrLuaOr = type: default: desc:
|
mkStrLuaOr = type: default: desc:
|
||||||
|
@ -202,11 +200,7 @@ with lib; rec {
|
||||||
);
|
);
|
||||||
mkStr = default: mkNullable (with nixvimTypes; maybeRaw str) ''${builtins.toString default}'';
|
mkStr = default: mkNullable (with nixvimTypes; maybeRaw str) ''${builtins.toString default}'';
|
||||||
mkAttributeSet = default: mkNullable nixvimTypes.attrs ''${default}'';
|
mkAttributeSet = default: mkNullable nixvimTypes.attrs ''${default}'';
|
||||||
# Note that this function is _not_ to be used with submodule elements, as it may obstruct the
|
|
||||||
# documentation
|
|
||||||
mkListOf = ty: default: mkNullable (with nixvimTypes; listOf (maybeRaw ty)) default;
|
mkListOf = ty: default: mkNullable (with nixvimTypes; listOf (maybeRaw ty)) default;
|
||||||
# Note that this function is _not_ to be used with submodule elements, as it may obstruct the
|
|
||||||
# documentation
|
|
||||||
mkAttrsOf = ty: default: mkNullable (with nixvimTypes; attrsOf (maybeRaw ty)) default;
|
mkAttrsOf = ty: default: mkNullable (with nixvimTypes; attrsOf (maybeRaw ty)) default;
|
||||||
mkEnum = enumValues: default: mkNullable (with nixvimTypes; maybeRaw (enum enumValues)) ''"${default}"'';
|
mkEnum = enumValues: default: mkNullable (with nixvimTypes; maybeRaw (enum enumValues)) ''"${default}"'';
|
||||||
mkEnumFirstDefault = enumValues: mkEnum enumValues (head enumValues);
|
mkEnumFirstDefault = enumValues: mkEnum enumValues (head enumValues);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue