diff options
| -rw-r--r-- | xmake/modules/private/xrepo/quick_search/complete.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/xrepo/quick_search/complete.lua b/xmake/modules/private/xrepo/quick_search/complete.lua index 48de72e56..224aba0b6 100644 --- a/xmake/modules/private/xrepo/quick_search/complete.lua +++ b/xmake/modules/private/xrepo/quick_search/complete.lua @@ -4,7 +4,7 @@ function main(complete, opt) local candidates = {} for _, package in ipairs(packages) do if package.name:startswith(complete) then - table.insert(candidates, package.name) + table.insert(candidates, { value = package.name, description = package.description }) end end return candidates |
