0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

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:
Bram Moolenaar
2018-09-16 15:48:06 +02:00
parent 42c63356d7
commit e8fa05b5bc
6 changed files with 114 additions and 97 deletions

View File

@@ -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);
}
/*