From 8104e24adcedb10475a5aa005fe958f4e5bd5a88 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Wed, 17 Jan 2024 14:58:08 +0100 Subject: [PATCH] helpers: remove useless comments for certain options --- lib/helpers.nix | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/helpers.nix b/lib/helpers.nix index 9663d7fc..47d4b22d 100644 --- a/lib/helpers.nix +++ b/lib/helpers.nix @@ -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); mkStrLuaOr = type: default: desc: @@ -202,11 +200,7 @@ with lib; rec { ); mkStr = default: mkNullable (with nixvimTypes; maybeRaw str) ''${builtins.toString 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; - # 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; mkEnum = enumValues: default: mkNullable (with nixvimTypes; maybeRaw (enum enumValues)) ''"${default}"''; mkEnumFirstDefault = enumValues: mkEnum enumValues (head enumValues);