fix ctrlp statusline getting overwritten via cursormove
This commit is contained in:
parent
10fa73996b
commit
9f04ef3170
@ -70,6 +70,10 @@ endfunction
|
|||||||
" non-trivial number of external plugins use eventignore=all, so we need to account for that
|
" non-trivial number of external plugins use eventignore=all, so we need to account for that
|
||||||
function! s:sync_active_winnr()
|
function! s:sync_active_winnr()
|
||||||
if winnr() != s:active_winnr
|
if winnr() != s:active_winnr
|
||||||
|
" prevent ctrlp statusline from getting overwritten
|
||||||
|
if match(&statusline, 'CtrlPlight') >= 0
|
||||||
|
return
|
||||||
|
endif
|
||||||
call s:on_window_changed()
|
call s:on_window_changed()
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
Loading…
Reference in New Issue
Block a user