summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/modules/private/utils/completer.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/utils/completer.lua b/xmake/modules/private/utils/completer.lua
index d1ef07977..db7d4cbe9 100644
--- a/xmake/modules/private/utils/completer.lua
+++ b/xmake/modules/private/utils/completer.lua
@@ -129,7 +129,7 @@ function completer:_complete_option_kv_v(options, current, completing, name, val
-- match values starts with value first
local found_candidates = {}
local nokey = self:config("nokey")
- for _, v in ipairs(_find_candidates(values, value)) do
+ for _, v in ipairs(self:_find_candidates(values, value)) do
if nokey then
table.insert(found_candidates, { value = v, is_complete = true })
else