summaryrefslogtreecommitdiffstats
path: root/runtime/doc/autocmd.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-01-31 17:03:52 +0100
committerBram Moolenaar <Bram@vim.org>2021-01-31 17:03:52 +0100
commit853886722c051ecaef6d818ce32a822e4f43dc2b (patch)
tree0e64b8342508906416f74b960fb8029da8e429d5 /runtime/doc/autocmd.txt
parent3d2bb8b6f152c0c5056f49bccb350683a9ba2e13 (diff)
patch 8.2.2440: documentation based on patches is outdatedv8.2.2440
Problem: Documentation based on patches is outdated. Solution: Add changes to documentation in a patch.
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r--runtime/doc/autocmd.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt
index dfd7dcb446..20a8f4b49a 100644
--- a/runtime/doc/autocmd.txt
+++ b/runtime/doc/autocmd.txt
@@ -1,4 +1,4 @@
-*autocmd.txt* For Vim version 8.2. Last change: 2020 Dec 19
+*autocmd.txt* For Vim version 8.2. Last change: 2021 Jan 28
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -54,7 +54,8 @@ effects. Be careful not to destroy your text.
:au[tocmd] [group] {event} {pat} [++once] [++nested] {cmd}
Add {cmd} to the list of commands that Vim will
execute automatically on {event} for a file matching
- {pat} |autocmd-patterns|.
+ {pat} |autocmd-patterns|.
+ Here {event} cannot be "*". *E1155*
Note: A quote character is seen as argument to the
:autocmd and won't start a comment.
Vim always adds the {cmd} after existing autocommands,