diff --git a/autoload/sy/sign.vim b/autoload/sy/sign.vim index 5b0a7ba..2b86178 100644 --- a/autoload/sy/sign.vim +++ b/autoload/sy/sign.vim @@ -189,14 +189,10 @@ function! sy#sign#process_diff(sy, diff) abort execute 'sign unplace' a:sy.internal[line].id 'buffer='.a:sy.buffer endfor - 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("\") - else - redraw - endif + if has('gui_macvim') && has('gui_running') + " MacVim needs an extra kick in the butt, when setting signs from the + " exit handler. :redraw would trigger a "hanging cursor" issue. + call feedkeys("\") endif let a:sy.stats = [added, modified, deleted] diff --git a/plugin/signify.vim b/plugin/signify.vim index 088a602..69e7516 100644 --- a/plugin/signify.vim +++ b/plugin/signify.vim @@ -34,7 +34,8 @@ augroup signify if get(g:, 'signify_update_on_bufenter') autocmd BufEnter * nested call s:save() endif - if (s:realtime || get(g:, 'signify_update_on_focusgained')) && !has('gui_win32') + + if s:realtime || get(g:, 'signify_update_on_focusgained') autocmd FocusGained * SignifyRefresh endif