> thx, the 'case' looks fine now.
> but if the input was heading with num e.g '2bar', then looks the num
> was treated as the 'range' of cmd 'bar', and doing the expanding of
> 'bar'............ i do not know how to workaround it or it just should
> be like that or it was a flaw?

Well, a number before a command is a range.  Perhaps you have a fuzzy
match with "2bar", but I would think it is unusual to type that and
expect good suggestions.  I would expect only suggestions matching
"bar".  Isn't it normal that you would type the first character of the
command?  So to match "MyNiceCommand", which takes a range, you could
type "123mnc" and then fuzzy complete.

-- 
hundred-and-one symptoms of being an internet addict:
110. You actually volunteer to become your employer's webmaster.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///                                                                      \\\
\\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
 \\\            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/20220226155330.1CB101C1149%40moolenaar.net.

Raspunde prin e-mail lui