Permalink
Browse files

Don't check for CtrlPLinePre

Fixes #450
1 parent 83397bd commit b5d3fe66a58a13d2ff8b6391f4387608496a030f @kien committed Jul 29, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 autoload/ctrlp.vim
View
@@ -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 ==$'

0 comments on commit b5d3fe6

Please sign in to comment.