mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 03:53:47 -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()
|
let wl = winline()
|
||||||
silent edit
|
silent edit
|
||||||
let offset = wl - winline()
|
let offset = wl - winline()
|
||||||
execute "normal ".offset."\<C-Y>"
|
execute "normal! ".offset."\<C-Y>"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
silent! call repeat#set("\<Plug>GitGutterUndoHunk", -1)<CR>
|
silent! call repeat#set("\<Plug>GitGutterUndoHunk", -1)<CR>
|
||||||
|
|||||||
Reference in New Issue
Block a user