Search code examples
vimcolorsconemu

vim and 256 colors in ConEmu


I have enabled the 256 colors in ConEmu by using

"enable 256 colors in ConEmu on Win
if has('win32') && !has('gui_running') && !empty($CONEMUBUILD)
    set term=xterm
    set t_Co=256
    let &t_AB="\e[48;5;%dm"
    let &t_AF="\e[38;5;%dm"
endif

This works properly with my colors schema which is seoul256. But unfortunatelly it doesn't work with e.g. the colorizer vim plugin I wanted to show the colors from the table under the Web safe colors? section: link

What I got is visible at the following screenshot. No problems in gvim as you can see, but in console colors are wrong.

enter image description here

I have also problems with colors in the vim-powerline or vim-airline plugins also. What I can see, I have no problems only with the colors from my color schema. Why it doesn't work in this situation?


Solution

  • This is a recently introduced colorizer bug and should have been fixed just now.