mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-06-29 11:54:15 +00:00
Merge lists in lazy.core.util.merge
This commit is contained in:
parent
666ed7bf73
commit
ea2ba4df23
2 changed files with 15 additions and 1 deletions
|
@ -145,7 +145,11 @@ describe("util", function()
|
|||
},
|
||||
{
|
||||
input = { { a = { 1, 2 } }, { a = { 3 } } },
|
||||
output = { a = { 3 } },
|
||||
output = { a = { 1, 2, 3 } },
|
||||
},
|
||||
{
|
||||
input = { { a = { 1, 2 } }, { a = { 1, 3 } } },
|
||||
output = { a = { 1, 2, 3 } },
|
||||
},
|
||||
{
|
||||
input = { { b = { 1, 2 } }, { a = { 3 }, b = vim.NIL } },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue