Maxim Kim wrote:

> Minimal repro:
>
> let g:testfuzzy = ['vimrc', 'vimrc_colors']
> echom g:testfuzzy->matchfuzzy('vimrc')
>
> result:
> ['vimrc_colors', 'vimrc']

I don't really know how it's scored, but here I would
have thought that the first entry "vimrc" should have
a better score than "vimrc_colors" because "vimrc"
is a full match:
- "vimrc" matches 100%
- "vimrc_colors" matches only 42% of the
  characters (5 chars out of 12).

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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAON-T_jfo3NrA-9ybR1db1Wbn3DfKhpLf7aaBJqzGw%3D7CwBGvA%40mail.gmail.com.

Raspunde prin e-mail lui