mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2025-01-10 07:39:49 +01:00
Compare commits
No commits in common. "79f0d87ad2395c2ce411711a659450b9702b5760" and "ebe0d6c9603f4b48943fadb0da1e3f5b68cdce7c" have entirely different histories.
79f0d87ad2
...
ebe0d6c960
1 changed files with 8 additions and 1 deletions
|
@ -66,7 +66,14 @@ in {
|
|||
|
||||
luaInline = lib.mkOptionType {
|
||||
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;
|
||||
};
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue