mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-09 12:03:48 -05:00
@@ -257,6 +257,7 @@ function! s:hunk_op(op, ...)
|
|||||||
let g:gitgutter_async = async
|
let g:gitgutter_async = async
|
||||||
|
|
||||||
call gitgutter#hunk#set_hunks(bufnr, gitgutter#diff#parse_diff(diff))
|
call gitgutter#hunk#set_hunks(bufnr, gitgutter#diff#parse_diff(diff))
|
||||||
|
call gitgutter#diff#process_hunks(bufnr, gitgutter#hunk#hunks(bufnr)) " so the hunk summary is updated
|
||||||
|
|
||||||
if empty(s:current_hunk())
|
if empty(s:current_hunk())
|
||||||
call gitgutter#utility#warn('cursor is not in a hunk')
|
call gitgutter#utility#warn('cursor is not in a hunk')
|
||||||
|
|||||||
Reference in New Issue
Block a user