diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-09-16 15:48:06 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-09-16 15:48:06 +0200 |
commit | e8fa05b5bc2d6d76bf5af50176a63655d00d1110 (patch) | |
tree | f044f8dd892e26a8edec54754043668b64b512ca /runtime/doc/autocmd.txt | |
parent | 42c63356d774bbfe91712197e8969f60de828a32 (diff) | |
download | vim-git-e8fa05b5bc2d6d76bf5af50176a63655d00d1110.tar.gz |
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/doc/autocmd.txt')
-rw-r--r-- | runtime/doc/autocmd.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 7b5913042..621e3edbe 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 |