From 784418c8eac62cde08cbf0f6679baeefb3fb4a4e Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 1 Mar 2023 23:12:12 +0800 Subject: fix completer --- xmake/modules/private/utils/completer.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.3.1