From e8fa05b5bc2d6d76bf5af50176a63655d00d1110 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 16 Sep 2018 15:48:06 +0200 Subject: patch 8.1.0397: no event triggered after updating diffs Problem: No event triggered after updating diffs. Solution: Add the DiffUpdated event. --- runtime/doc/autocmd.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'runtime') diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 7b5913042e..621e3edbe2 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -656,6 +656,11 @@ FileChangedRO Before making the first change to a read-only *E881* If the number of lines changes saving for undo may fail and the change will be aborted. + *DiffUpdated* +DiffUpdated After diffs have been updated. Depending on + what kind of diff is being used (internal or + external) this can be triggered on every + change or when doing |:diffupdate|. *DirChanged* DirChanged The working directory has changed in response to the |:cd| or |:lcd| commands, or as a -- cgit v1.2.3