mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 07:24:52 +01:00
fix: filter fn
This commit is contained in:
parent
f2fdaa40a5
commit
5eaefb52c7
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ local function filter(needle, haystack, getter)
|
||||||
hay = getter(opt)
|
hay = getter(opt)
|
||||||
end
|
end
|
||||||
if vim.startswith(hay, needle) then
|
if vim.startswith(hay, needle) then
|
||||||
table.insert(hints, opt)
|
table.insert(hints, hay)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
return hints
|
return hints
|
||||||
|
|
Loading…
Reference in a new issue