Shougo / neocomplcache.vim

Ultimate auto-completion system for Vim.
http://www.vim.org/scripts/script.php?script_id=2620
1.72k stars 135 forks source link

Auto select not always selecting the first option #462

Closed fisadev closed 10 years ago

fisadev commented 10 years ago

(great plugin, by the way)

I have this in my settings:

let g:neocomplcache_enable_auto_select = 1

When I type letters, some times the first element on the autocomplete list gets selected, and sometimes it doesn't. Even after the first element being selected, if I continue typing, the element gets de-selected.

Example:

I tried just having neocomplcache as the only plugin, and the auto select as the only setting in my .vimrc, just to be sure nothing else is causing the problem. And the problem still happens, so it must be neocomplcache's problem.

fisadev commented 10 years ago

Update: this problem only happens on vim 7.4. Downgraded to vim 7.3 to test, and there works fine. So its some sort of incompatibility of neocomplcache with vim 7.4.

Shougo commented 10 years ago

This is Vim's bug. You must updated your Vim to latest of 7.4. http://code.google.com/p/vim/source/detail?r=460d5be9395ef3e05f4b1397ea98a5b54d825fc5