mirror of
https://github.com/neovim/neovim.git
synced 2026-01-18 02:46:59 +00:00
vim-patch:8.1.0397: no event triggered after updating diffs
Problem: No event triggered after updating diffs.
Solution: Add the DiffUpdated event.
e8fa05b5bc
This commit is contained in:
@@ -924,6 +924,8 @@ void ex_diffupdate(exarg_T *eap)
|
||||
curwin->w_valid_cursor.lnum = 0;
|
||||
|
||||
diff_redraw(true);
|
||||
|
||||
apply_autocmds(EVENT_DIFFUPDATED, NULL, NULL, false, curbuf);
|
||||
}
|
||||
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user