Compare commits

..

No commits in common. "79f0d87ad2395c2ce411711a659450b9702b5760" and "ebe0d6c9603f4b48943fadb0da1e3f5b68cdce7c" have entirely different histories.

View file

@ -66,7 +66,14 @@ in {
luaInline = lib.mkOptionType { luaInline = lib.mkOptionType {
name = "luaInline"; name = "luaInline";
check = x: lib.nvim.lua.isLuaInline x; check = x: lib.nvim.lua.isLuaInline x || builtins.isString x;
merge = loc: defs: let
val =
if isString loc
then lib.generators.mkLuaInline loc
else loc;
in
lib.mergeOneOption val defs;
}; };
/* /*