GUI: use :redraw for all GUIs except MacVim

This commit is contained in:
Marco Hinz 2017-02-20 16:47:35 +01:00
parent 01ec338fdb
commit d155dffd9d
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F

View File

@ -192,7 +192,11 @@ function! sy#sign#process_diff(sy, diff) abort
if has('gui_running') && has('patch-7.4.1967')
" Some GUIs need this extra kick in the butt, when setting signs from the
" exit handler. :redraw would trigger a "hanging cursor bug" in MacVim.
if has('gui_macvim')
call feedkeys("\<c-l>")
else
redraw
endif
endif
let a:sy.stats = [added, modified, deleted]