add modified colors to jellybeans

This commit is contained in:
Bailey Ling
2013-08-04 15:34:57 +00:00
parent b25dacef44
commit d1d65dd41a
2 changed files with 7 additions and 1 deletions

View File

@@ -71,7 +71,7 @@ endfunction
function! s:sync_active_winnr()
if winnr() != s:active_winnr
" prevent ctrlp statusline from getting overwritten
if match(&statusline, 'CtrlPlight') >= 0
if get(g:, 'loaded_ctrlp', 0) && match(&statusline, 'CtrlPlight') >= 0
return
endif
call s:on_window_changed()