diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-07 19:54:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-07 19:54:59 +0200 |
commit | e7b1ea0276cc83cd5c612f3189a174a60d57b5ed (patch) | |
tree | a8c3ded5f0cb0966c0385a716f4e82a9a81cb3be /runtime/doc/usr_40.txt | |
parent | 95dd9f2571f09a915674133c73b471b0ebbdcdbf (diff) |
Update runtime files.
Diffstat (limited to 'runtime/doc/usr_40.txt')
-rw-r--r-- | runtime/doc/usr_40.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/usr_40.txt b/runtime/doc/usr_40.txt index 85014c2753..3456a76c1c 100644 --- a/runtime/doc/usr_40.txt +++ b/runtime/doc/usr_40.txt @@ -1,4 +1,4 @@ -*usr_40.txt* For Vim version 8.2. Last change: 2013 Aug 05 +*usr_40.txt* For Vim version 8.2. Last change: 2020 Jul 28 VIM USER MANUAL - by Bram Moolenaar @@ -453,12 +453,12 @@ matching BufWritePre autocommands and executes them, and then it performs the ":write". The general form of the :autocmd command is as follows: > - :autocmd [group] {events} {file_pattern} [nested] {command} + :autocmd [group] {events} {file-pattern} [nested] {command} The [group] name is optional. It is used in managing and calling the commands (more on this later). The {events} parameter is a list of events (comma separated) that trigger the command. - {file_pattern} is a filename, usually with wildcards. For example, using + {file-pattern} is a filename, usually with wildcards. For example, using "*.txt" makes the autocommand be used for all files whose name end in ".txt". The optional [nested] flag allows for nesting of autocommands (see below), and finally, {command} is the command to be executed. @@ -489,7 +489,7 @@ See |autocmd-events| for a complete list of events. PATTERNS -The {file_pattern} argument can actually be a comma-separated list of file +The {file-pattern} argument can actually be a comma-separated list of file patterns. For example: "*.c,*.h" matches files ending in ".c" and ".h". The usual file wildcards can be used. Here is a summary of the most often used ones: |