mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 19:46:58 -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 choices = {
|
||||
'Select a file:',
|
||||
table.unpack(vim.tbl_map(function(f)
|
||||
unpack(vim.tbl_map(function(f)
|
||||
counter = counter + 1
|
||||
return counter..'. '..f
|
||||
end,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue