mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 07:29:49 +01:00
types/luaInline: do not coerce strings into luaInline
This commit is contained in:
parent
4b868d0de6
commit
500652d75e
1 changed files with 1 additions and 8 deletions
|
@ -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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue