Remove now useless workarounds
This commit is contained in:
parent
9d0947952e
commit
0a09008179
@ -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')
|
||||
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>")
|
||||
else
|
||||
redraw
|
||||
endif
|
||||
endif
|
||||
|
||||
let a:sy.stats = [added, modified, deleted]
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user