Installing vim omnicompletion colors (Pmenu) in vimrc does not work

I'm trying to customize my pop-up completion menu according to this guide: Vim Wiki: pop-up pop-up menu . " He notes

add to your vimrc if you always want this.

However, with the following options in my .vimrc file

colo desert

filetype plugin on
set ofu=syntaxcomplete#Complete
highlight Pmenu guibg=brown gui=bold

I get the following:

Gahhhh!  My eyes!

Note: when I manually enter the highlight command manually, it works:

enter image description here

How to make the popup use the color scheme defined in .vimrc without having to enter it manually each time?

+5
source share
3 answers
+3

, , . .

"" gui configuration
color murphy
syntax one
highlight Pmenu guibg=brown gui=bold

enter image description here

+5

Hmm, most likely, after that, a highlight command will appear that will override your option. Probably when the file type is determined and adjusts the settings. Try running it without an option filetype plugin on.

If this works, you will need to configure the file type definition to subsequently run your special options.

+1
source

All Articles