mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
Avoid Lua 5.3 function table.unpack
This commit is contained in:
parent
574bd5ae37
commit
3f5c3c01e6
1 changed files with 1 additions and 1 deletions
|
|
@ -209,7 +209,7 @@ function M.edit_query_file(query_group, lang)
|
||||||
local counter = 0
|
local counter = 0
|
||||||
local choices = {
|
local choices = {
|
||||||
'Select a file:',
|
'Select a file:',
|
||||||
table.unpack(vim.tbl_map(function(f)
|
unpack(vim.tbl_map(function(f)
|
||||||
counter = counter + 1
|
counter = counter + 1
|
||||||
return counter..'. '..f
|
return counter..'. '..f
|
||||||
end,
|
end,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue