diff options
| author | ruki <[email protected]> | 2023-03-01 23:12:12 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-01 23:12:12 +0800 |
| commit | 784418c8eac62cde08cbf0f6679baeefb3fb4a4e (patch) | |
| tree | 6c62cc3be64863f6609e4bbf10a5c963e5c4aa05 | |
| parent | d0cd003ecfdf08ba730e586664724901f41689ac (diff) | |
fix completer
| -rw-r--r-- | xmake/modules/private/utils/completer.lua | 2 |
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 |
