kien/ctrlp.vim — Issue #131: E420 when hi Normal has ctermbg=None
Author: pansz
Created: 2012-02-06 03:10:35+00:00
State: open

When Normal highlight has ctermbg=None, this means a transparent term background, i.e. the same color as the background of Term Client Program, if the term client supports a picture as background, then the background will be the picture. This technique was widely used when we need a background picture for term client.

Vim will issue E420 when ctermfg=bg, if ctermbg=None

The following line:

sil! exe 'hi CtrlPLinePre '.( has("gui_running") ? 'gui' : 'cterm' ).'fg=bg'

should not be used since ctermfg=bg may fail.

Well, I don't know why ctermfg=bg is used, do you want to Hide the foreground? Will this work?

hi link CtrlPLinePre Ignore