summaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-09-16 15:48:06 +0200
committerBram Moolenaar <Bram@vim.org>2018-09-16 15:48:06 +0200
commite8fa05b5bc2d6d76bf5af50176a63655d00d1110 (patch)
treef044f8dd892e26a8edec54754043668b64b512ca /runtime
parent42c63356d774bbfe91712197e8969f60de828a32 (diff)
patch 8.1.0397: no event triggered after updating diffsv8.1.0397
Problem: No event triggered after updating diffs. Solution: Add the DiffUpdated event.
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/autocmd.txt5
1 files changed, 5 insertions, 0 deletions
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