Revert "feat(util): opts merging now supports lists extending by tagging a table with __extend = true. Use with care"

This reverts commit 74fd3611f2.
This commit is contained in:
Folke Lemaitre 2024-06-06 23:27:29 +02:00
parent 74fd3611f2
commit 89ddc59d19
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 1 additions and 25 deletions

View file

@ -134,18 +134,6 @@ describe("util", function()
input = { { a = 1 }, { b = 2, a = vim.NIL } },
output = { b = 2 },
},
{
input = { { 1, 2, __extend = true }, { 3, 4 } },
output = { 1, 2, 3, 4, __extend = true },
},
{
input = { { 1, 2, __extend = true }, { __extend = true, 3, 4 } },
output = { 1, 2, 3, 4, __extend = true },
},
{
input = { { 1, 2 }, { 3, 4, __extend = true } },
output = { 1, 2, 3, 4, __extend = true },
},
}
for _, test in ipairs(tests) do