Shougo / neocomplete.vim

Next generation completion framework after neocomplcache
2.74k stars 203 forks source link

Is there a function that can check whether any menu entry in completion menu is selected (highlighted) or not? #582

Closed z0rc closed 7 years ago

z0rc commented 7 years ago

I did check documentation, but didn't find answer on this question.

My vim configuration has let g:neocomplete#enable_auto_select=0 and I'm looking for a way to automatically determine, if any completion menu entry is selected at current moment.

Unfortunately neosnippet#expandable_or_jumpable() isn't suitable here. pumvisible() allows to check, if completion menu is present, but I need to check, if completion menu is present and menu entry is selected.

This might be a general Vim question. Sorry for trouble, if so.

Shougo commented 7 years ago

This is Vim feature. You should ask it in vim issues.