Avoid Lua 5.3 function table.unpack

This commit is contained in:
Stephan Seitz 2021-04-19 21:24:43 +02:00 committed by Stephan Seitz
parent 574bd5ae37
commit 3f5c3c01e6

View file

@ -209,7 +209,7 @@ function M.edit_query_file(query_group, lang)
local counter = 0
local choices = {
'Select a file:',
table.unpack(vim.tbl_map(function(f)
unpack(vim.tbl_map(function(f)
counter = counter + 1
return counter..'. '..f
end,