mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-12-19 09:49:48 +01:00
Merge pull request #264 from horriblename/no-str-to-luainline
Remove str to luaInline coercion
This commit is contained in:
commit
79f0d87ad2
1 changed files with 1 additions and 8 deletions
|
@ -66,14 +66,7 @@ in {
|
||||||
|
|
||||||
luaInline = lib.mkOptionType {
|
luaInline = lib.mkOptionType {
|
||||||
name = "luaInline";
|
name = "luaInline";
|
||||||
check = x: lib.nvim.lua.isLuaInline x || builtins.isString x;
|
check = x: lib.nvim.lua.isLuaInline x;
|
||||||
merge = loc: defs: let
|
|
||||||
val =
|
|
||||||
if isString loc
|
|
||||||
then lib.generators.mkLuaInline loc
|
|
||||||
else loc;
|
|
||||||
in
|
|
||||||
lib.mergeOneOption val defs;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue