Remove now useless workarounds

This commit is contained in:
Marco Hinz 2017-02-24 17:41:32 +01:00
parent 9d0947952e
commit 0a09008179
No known key found for this signature in database
GPG Key ID: 1C980A1B657B4A4F
2 changed files with 6 additions and 9 deletions

View File

@ -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("\<c-l>")
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("\<c-l>")
endif
let a:sy.stats = [added, modified, deleted]

View File

@ -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