From b5d3fe66a58a13d2ff8b6391f4387608496a030f Mon Sep 17 00:00:00 2001 From: Kien N Date: Mon, 29 Jul 2013 11:00:25 +0700 Subject: [PATCH] Don't check for CtrlPLinePre Fixes #450 --- autoload/ctrlp.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/autoload/ctrlp.vim b/autoload/ctrlp.vim index e16a755..19ac146 100644 --- a/autoload/ctrlp.vim +++ b/autoload/ctrlp.vim @@ -1609,8 +1609,7 @@ endf fu! ctrlp#syntax() if ctrlp#nosy() | retu | en for [ke, va] in items(s:hlgrps) | cal ctrlp#hicheck('CtrlP'.ke, va) | endfo - if !hlexists('CtrlPLinePre') - \ && synIDattr(synIDtrans(hlID('Normal')), 'bg') !~ '^-1$\|^$' + if synIDattr(synIDtrans(hlID('Normal')), 'bg') !~ '^-1$\|^$' sil! exe 'hi CtrlPLinePre '.( has("gui_running") ? 'gui' : 'cterm' ).'fg=bg' en sy match CtrlPNoEntries '^ == NO ENTRIES ==$'