mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Replace "normal" command with "normal!"
We do not want to use user defined mappings
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user