You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the default config/setup, completion for command line would also have the same sorting comparator applied as the normal cmp, but this would result in a different order for completelist. cmp-cmdline will sort all the completion items based on similarity, or based on the length if completion text is empty. This is undesirable because it would be different than the default completion order as vim's vanilla wildmenu.
As a workaround, one could disable the comparators for cmdline:
but in some cases normal comparator would be still useful (like exact, length, etc.). What would be a recommended way or practice to deal with this situation?
The text was updated successfully, but these errors were encountered:
With the default config/setup, completion for command line would also have the same sorting comparator applied as the normal cmp, but this would result in a different order for completelist.
cmp-cmdline
will sort all the completion items based on similarity, or based on the length if completion text is empty. This is undesirable because it would be different than the default completion order as vim's vanilla wildmenu.As a workaround, one could disable the
comparators
forcmdline
:but in some cases normal comparator would be still useful (like exact, length, etc.). What would be a recommended way or practice to deal with this situation?
The text was updated successfully, but these errors were encountered: