Skip to content

Commit

Permalink
Remove obsolete MacVim workaround
Browse files Browse the repository at this point in the history
Closes #328
  • Loading branch information
mhinz committed Dec 7, 2019
1 parent 27a5141 commit 56db16f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions autoload/sy/sign.vim
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,6 @@ function! sy#sign#process_diff(sy, vcs, diff) abort
execute 'sign unplace' a:sy.internal[line].id 'buffer='.a:sy.buffer
endfor

if has('gui_macvim') && has('gui_running') && mode() == 'n'
" 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>", 'n')
endif

if empty(a:sy.updated_by) && empty(a:sy.hunks)
call sy#verbose('Successful exit value, but no diff. Keep VCS for time being.', a:vcs)
return
Expand Down

0 comments on commit 56db16f

Please sign in to comment.