concatStringsSep "\n" -> concatLines

concatStringsSep "\n" map -> concatMapStringsSep "\n"
This commit is contained in:
Gerg-L 2024-07-08 17:20:46 -04:00
commit 0c8dff8a89
No known key found for this signature in database
2 changed files with 10 additions and 10 deletions

View file

@ -2,7 +2,7 @@
{lib}: let
inherit (builtins) hasAttr head throw typeOf isList isAttrs isBool isInt isString isPath isFloat toJSON;
inherit (lib.attrsets) mapAttrsToList filterAttrs;
inherit (lib.strings) concatStringsSep concatMapStringsSep stringToCharacters;
inherit (lib.strings) concatStringsSep concatMapStringsSep stringToCharacters concatLines;
inherit (lib.trivial) boolToString warn;
in rec {
wrapLuaConfig = {
@ -11,7 +11,7 @@ in rec {
luaAfter ? "",
}: ''
lua << EOF
${concatStringsSep "\n" [luaBefore luaConfig luaAfter]}
${concatLines [luaBefore luaConfig luaAfter]}
EOF
'';