MacVim: Do not remap ^L

`feedkeys` remaps keys by default, so if a mapping exists for `<C-l>`,
then `call feedkeys("\<C-l>")` will not result in the desired behavior.
This commit is contained in:
Nikita Kouevda 2017-08-19 16:43:34 -07:00
parent 7cc32c28aa
commit b699eb540c

View File

@ -191,7 +191,7 @@ function! sy#sign#process_diff(sy, vcs, diff) abort
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>")
call feedkeys("\<c-l>", 'n')
endif
call sy#verbose('Signs updated.', a:vcs)