Merge pull request #264 from horriblename/no-str-to-luainline

Remove str to luaInline coercion
This commit is contained in:
NotAShelf 2024-04-27 11:32:46 +00:00 committed by GitHub
commit 79f0d87ad2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 8 deletions

View File

@ -66,14 +66,7 @@ in {
luaInline = lib.mkOptionType {
name = "luaInline";
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;
check = x: lib.nvim.lua.isLuaInline x;
};
/*