From 3f5c3c01e6db1077e4ee829acabb675ac8095065 Mon Sep 17 00:00:00 2001 From: Stephan Seitz Date: Mon, 19 Apr 2021 21:24:43 +0200 Subject: Avoid Lua 5.3 function table.unpack --- lua/nvim-treesitter/configs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index 333cf003d..4fe98bb2c 100644 --- a/lua/nvim-treesitter/configs.lua +++ b/lua/nvim-treesitter/configs.lua @@ -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, -- cgit v1.2.3-70-g09d2