aboutsummaryrefslogtreecommitdiff
path: root/lua/cmake/actions.lua
diff options
context:
space:
mode:
authorDaniil Rozanov <daniilrozzanov@gmail.com>2024-05-04 01:41:56 +0300
committerDaniil Rozanov <daniilrozzanov@gmail.com>2024-05-04 01:41:56 +0300
commit51c462301b93eccbce6b9ed67675c8d26b998a7d (patch)
treec74632386d3fc974c0d01a17eeb402a28c496873 /lua/cmake/actions.lua
parentac989fbbaad7a39b8cf075e165172a358c1620a1 (diff)
fix: properly read for large number of targets in fileapi reply
Diffstat (limited to 'lua/cmake/actions.lua')
-rw-r--r--lua/cmake/actions.lua2
1 files changed, 1 insertions, 1 deletions
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