redraw! causes screen flicker in mvim too

This commit is contained in:
Harsh Doshi 2013-03-15 17:20:41 -07:00
parent 75a234231b
commit 3d736681ea

View File

@ -495,7 +495,7 @@ endfunction
"However, on some versions of gvim using `redraw!` causes the screen to "However, on some versions of gvim using `redraw!` causes the screen to
"flicker - so use redraw. "flicker - so use redraw.
function! s:Redraw() function! s:Redraw()
if has('gui_running') if has('gui_running') || has('gui_macvim')
redraw redraw
else else
redraw! redraw!