mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00
omnicompletion backcompat for vim 6
This commit is contained in:
parent
8bdbaecd1b
commit
d0d87aa5d7
1 changed files with 16 additions and 14 deletions
2
vimrc
2
vimrc
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue