omnicompletion backcompat for vim 6

This commit is contained in:
David Alexander Majnemer 2009-09-02 21:22:12 -05:00
parent 8bdbaecd1b
commit d0d87aa5d7

2
vimrc
View file

@ -329,6 +329,7 @@ if has('eval')
endif
" ---- OmniCpp ----
if v:version >= 700
if has('autocmd')
autocmd InsertLeave * if pumvisible() == 0|pclose|endif
endif
@ -344,3 +345,4 @@ let OmniCpp_ShowPrototypeInAbbr = 1 " show function prototype (i.e. parameters)
map <C-F12> :!$HOME/bin/ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .<CR><CR>
" add current directory's generated tags file to available tags
set tags+=./tags
endif