Maxim Kim <vim-dev-git...@256bit.org> wrote:

> To be able to show the user what was matched, like fzf, leaderf, vim-clap or 
> ctrlp do:
>
> https://i.imgur.com/FogkBBH.png

In your screenshot example I see that the search
string is "pa li" (with a space) and the results
don't contain spaces. They contain slashes as
in "pack/minpac/opt/fzf/LICENSE".

It won't match with the current implementation of matchfuzzy:

:echo matchfuzzy(["pack/minpac/opt/fzf/LICENSE"], "pa li")
[]

However, this would match:
:echo matchfuzzy(["pack/minpac/opt/fzf/LICENSE"], "pa/li")
['pack/minpac/opt/fzf/LICENSE']

So should matchfuzzy() do something special for separators
characters?

Regards
Dominique

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAON-T_jT30cp8tk4KG4a87PRSLQXO7DAgF0C%3DznPFAT%2BVsAREA%40mail.gmail.com.

Raspunde prin e-mail lui