Hi guys,
I am experiencing a very anoying bug.
When I use omnicompletion in a cpp file I am loosing the colorscheme I have
loaded, and it goes back to default colorscheme.

*I narrowed it to the use of preview in my vimrc: *

set tags+=~/.vim/tags/qsa
set tags+=~/.vim/stl_tags/cpp
" OmniCppComplete
let OmniCpp_NamespaceSearch     = 1
let OmniCpp_GlobalScopeSearch   = 1
let OmniCpp_ShowAccess          = 1
let OmniCpp_ShowPrototypeInAbbr = 1                             " show
function parameters
let OmniCpp_MayCompleteDot      = 1                               "
autocomplete after .
let OmniCpp_MayCompleteArrow    = 1                              "
autocomplete after ->
let OmniCpp_MayCompleteScope    = 1                             "
autocomplete after ::
let OmniCpp_DefaultNamespaces   = ["std", "_GLIBCXX_STD"]
" automatically open and close the popup menu / preview window
autocmd CursorMovedI * if pumvisible() == 0|pclose|endif
autocmd InsertLeave * if pumvisible() == 0|pclose|endif
"set completeopt=menuone,menu,longest,*preview*    "THIS DOES NOT WORK 
set completeopt=menuone,menu,longest                            "THIS WORKS

I like using this preview window, do one of you have encountered this ?
Cheers

--
View this message in context: 
http://vim.1045645.n5.nabble.com/but-in-colorscheme-when-using-omnicomplete-tp4773742p4773742.html
Sent from the Vim - General mailing list archive at Nabble.com.

-- 
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Reply via email to