Replace "normal" command with "normal!"

We do not want to use user defined mappings
This commit is contained in:
Thomas Larrieu
2016-10-27 21:35:39 +02:00
parent ee481585d7
commit 1742a8f568

View File

@@ -212,7 +212,7 @@ function! gitgutter#undo_hunk() abort
let wl = winline()
silent edit
let offset = wl - winline()
execute "normal ".offset."\<C-Y>"
execute "normal! ".offset."\<C-Y>"
endif
silent! call repeat#set("\<Plug>GitGutterUndoHunk", -1)<CR>