From d155dffd9dfc38bc016b684e2a54d9615e4980da Mon Sep 17 00:00:00 2001 From: Marco Hinz Date: Mon, 20 Feb 2017 16:47:35 +0100 Subject: [PATCH] GUI: use :redraw for all GUIs except MacVim --- autoload/sy/sign.vim | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/autoload/sy/sign.vim b/autoload/sy/sign.vim index e88c474..5b0a7ba 100644 --- a/autoload/sy/sign.vim +++ b/autoload/sy/sign.vim @@ -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. - call feedkeys("\") + if has('gui_macvim') + call feedkeys("\") + else + redraw + endif endif let a:sy.stats = [added, modified, deleted]