Skip to content

Commit e9b1487

Browse files
committed
Update: original document autocmd.txt
1 parent 919ffa4 commit e9b1487

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

en/autocmd.txt

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ Name triggered by ~
345345
when popup menu is not visible
346346
|TextChangedP| after a change was made to the text in Insert mode
347347
when popup menu visible
348-
|TextYankPost| after text is yanked or deleted
348+
|TextYankPost| after text has been yanked or deleted
349349

350350
|ColorSchemePre| before loading a color scheme
351351
|ColorScheme| after loading a color scheme
@@ -656,12 +656,17 @@ FileChangedRO Before making the first change to a read-only
656656
*E881*
657657
If the number of lines changes saving for undo
658658
may fail and the change will be aborted.
659+
*DiffUpdated*
660+
DiffUpdated After diffs have been updated. Depending on
661+
what kind of diff is being used (internal or
662+
external) this can be triggered on every
663+
change or when doing |:diffupdate|.
659664
*DirChanged*
660665
DirChanged The working directory has changed in response
661666
to the |:cd| or |:lcd| commands, or as a
662667
result of the 'autochdir' option.
663668
The pattern can be:
664-
"window" to trigger on `:lcd
669+
"window" to trigger on `:lcd`
665670
"global" to trigger on `:cd`
666671
"auto" to trigger on 'autochdir'.
667672
"drop" to trigger on editing a file

0 commit comments

Comments
 (0)