Skip to content

Commit b5d3fe6

Browse files
committed
Don't check for CtrlPLinePre
Fixes #450
1 parent 83397bd commit b5d3fe6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

autoload/ctrlp.vim

+1-2
Original file line numberDiff line numberDiff line change
@@ -1609,8 +1609,7 @@ endf
16091609
fu! ctrlp#syntax()
16101610
if ctrlp#nosy() | retu | en
16111611
for [ke, va] in items(s:hlgrps) | cal ctrlp#hicheck('CtrlP'.ke, va) | endfo
1612-
if !hlexists('CtrlPLinePre')
1613-
\ && synIDattr(synIDtrans(hlID('Normal')), 'bg') !~ '^-1$\|^$'
1612+
if synIDattr(synIDtrans(hlID('Normal')), 'bg') !~ '^-1$\|^$'
16141613
sil! exe 'hi CtrlPLinePre '.( has("gui_running") ? 'gui' : 'cterm' ).'fg=bg'
16151614
en
16161615
sy match CtrlPNoEntries '^ == NO ENTRIES ==$'

0 commit comments

Comments
 (0)