Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A completions are not complemented by TAB key, When 'clcompleteopt' option include "menu" and "noinsert", and there is only one match. #10

Closed
h-east opened this issue Feb 8, 2016 · 1 comment

Comments

@h-east
Copy link
Owner

h-east commented Feb 8, 2016

How to reproduce:

$ vim -Nu NONE -c 'set clpum clcot=menu,noinsert'
:set clcot=<TAB>

Expected behavior:
menu,noinsert is complemented.

Actual behavior:
Nothing complemented.

Remarks:
It is complemented with the use of the <C-D> instead of <TAB>.
I checked by CUI Vim 7.4.1290 on fedora Linux.

@h-east h-east added the bug label Feb 8, 2016
@h-east
Copy link
Owner Author

h-east commented Apr 22, 2016

This behavior is expected. See document :h 'clcot'

           menu     Use a popup menu to show the possible completions.  The
                    menu is only shown when there is more than one match and
                    sufficient colors are available.

Insert mode completion with set cot=menu,noinsert is also a similar behavior.

@h-east h-east closed this as completed Apr 22, 2016
@h-east h-east removed the bug label Apr 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant