pi314 / ime.vim

A Vim input method engine
BSD 2-Clause "Simplified" License
84 stars 3 forks source link

E121: Undefined variable: v:completed_item #42

Closed pi314 closed 7 years ago

pi314 commented 7 years ago
Error detected while processing function <SNR>51_CompSelectMode:
line    4:
E121: Undefined variable: v:completed_item

It is said that v:completed_item is added in 7.4.774, I hit this problem on Vim 7.4.52

pi314 commented 7 years ago

Btw, CompleteDone event is added in Vim 7.3.598

pi314 commented 7 years ago

:help feature-list and :help version8 might helpful

Check the default value of v:completed_item first. If it has default value after vim starts, I don't have to check vim version and patch.