driver.love/0051-manifest_navigator_can...

12 lines
272 B
Plaintext

manifest_navigator_candidates = function()
if Manifest_navigator.filter == '' then
return Manifest
end
local result = {}
for _,def in ipairs(Manifest) do
if starts_with(def, Manifest_navigator.filter) then
table.insert(result, def)
end
end
return result
end