forked from aniani/vim
patch 8.1.0397: no event triggered after updating diffs
Problem: No event triggered after updating diffs. Solution: Add the DiffUpdated event.
This commit is contained in:
@@ -942,6 +942,8 @@ ex_diffupdate(exarg_T *eap) // "eap" can be NULL
|
||||
curwin->w_valid_cursor.lnum = 0;
|
||||
|
||||
diff_redraw(TRUE);
|
||||
|
||||
apply_autocmds(EVENT_DIFFUPDATED, NULL, NULL, FALSE, curbuf);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user