From 51c462301b93eccbce6b9ed67675c8d26b998a7d Mon Sep 17 00:00:00 2001 From: Daniil Rozanov Date: Sat, 4 May 2024 01:41:56 +0300 Subject: fix: properly read for large number of targets in fileapi reply --- lua/cmake/actions.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/cmake/actions.lua') diff --git a/lua/cmake/actions.lua b/lua/cmake/actions.lua index d17096c..230e1e3 100644 --- a/lua/cmake/actions.lua +++ b/lua/cmake/actions.lua @@ -189,7 +189,7 @@ M.build_select = function(opts) format_item = function(item) return table.concat(item.name, config.variants_display.short.sep) end, - }, function(choice, idx) + }, function(_, idx) if not idx then return end -- cgit v1.2.3