mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
Fix calls to repeat#set: remove trailing "<CR>"
This commit is contained in:
committed by
Andy Stewart
parent
7201afe8d1
commit
8a4b9ccf52
@@ -171,17 +171,17 @@ endfunction
|
|||||||
|
|
||||||
function! gitgutter#hunk#stage() abort
|
function! gitgutter#hunk#stage() abort
|
||||||
call s:hunk_op(function('s:stage'))
|
call s:hunk_op(function('s:stage'))
|
||||||
silent! call repeat#set("\<Plug>GitGutterStageHunk", -1)<CR>
|
silent! call repeat#set("\<Plug>GitGutterStageHunk", -1)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! gitgutter#hunk#undo() abort
|
function! gitgutter#hunk#undo() abort
|
||||||
call s:hunk_op(function('s:undo'))
|
call s:hunk_op(function('s:undo'))
|
||||||
silent! call repeat#set("\<Plug>GitGutterUndoHunk", -1)<CR>
|
silent! call repeat#set("\<Plug>GitGutterUndoHunk", -1)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! gitgutter#hunk#preview() abort
|
function! gitgutter#hunk#preview() abort
|
||||||
call s:hunk_op(function('s:preview'))
|
call s:hunk_op(function('s:preview'))
|
||||||
silent! call repeat#set("\<Plug>GitGutterPreviewHunk", -1)<CR>
|
silent! call repeat#set("\<Plug>GitGutterPreviewHunk", -1)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user