Prabir Shrestha wrote:
> > Any plans to also pass custom scores? > > I am not clear on how a plugin author will use the custom score. > To pick a score for a match, the plugin author needs to understand how > the fuzzy matching score is computed internally in Vim. Otherwise, > there is no guarantee that the plugin supplied scores will be higher > or preferred over the internally computed scores. > > If a plugin needs to prioritize some matches over others (from your > example, the most recently used entries), can it merge the preferred > matches with the list of matches returned by matchfuzzypos()? I also think that a custom score is not useful. You can always do your own fuzzy matching (and using a :def function it might be fast enough). Using a callback for a custome score won't help much. -- >From "know your smileys": :-)-O Smiling doctor with stethoscope /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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/202101021648.102GmDA61894681%40masaka.moolenaar.net.
