diff runtime/doc/autocmd.txt @ 14770:27055ad9276b v8.1.0397

patch 8.1.0397: no event triggered after updating diffs commit https://github.com/vim/vim/commit/e8fa05b5bc2d6d76bf5af50176a63655d00d1110 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Sep 16 15:48:06 2018 +0200 patch 8.1.0397: no event triggered after updating diffs Problem: No event triggered after updating diffs. Solution: Add the DiffUpdated event.
author Christian Brabandt <cb@256bit.org>
date Sun, 16 Sep 2018 16:00:07 +0200
parents 5c5908e81e93
children 40ef13331e02
line wrap: on
line diff
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -656,6 +656,11 @@ FileChangedRO			Before making the first 
 							*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