mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
@@ -328,6 +328,9 @@ function! s:undo(hunk_diff)
|
|||||||
call append(lnum-1, lines[0:hunk[1]])
|
call append(lnum-1, lines[0:hunk[1]])
|
||||||
execute (lnum+hunk[1]) .','. (lnum+hunk[1]+hunk[3]) .'d _'
|
execute (lnum+hunk[1]) .','. (lnum+hunk[1]+hunk[3]) .'d _'
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
" Refresh gitgutter's view of buffer.
|
||||||
|
call gitgutter#process_buffer(bufnr(''), 1)
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user