diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-06-03 21:59:47 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-06-03 21:59:47 +0100 |
commit | cfa8f9a3f285060152ebbdbf86fbc7aecf1dd756 (patch) | |
tree | 8aa47aedb1518be5e85a39a24afc93c80878eb7d /runtime/doc/autocmd.txt | |
parent | 635f48010dcf6d97f3a65b4785e1726ad386d3eb (diff) |
Update runtime files
Diffstat (limited to 'runtime/doc/autocmd.txt')
-rw-r--r-- | runtime/doc/autocmd.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/autocmd.txt b/runtime/doc/autocmd.txt index 0ef7c4c67b..948aae45ca 100644 --- a/runtime/doc/autocmd.txt +++ b/runtime/doc/autocmd.txt @@ -1,4 +1,4 @@ -*autocmd.txt* For Vim version 8.2. Last change: 2022 Apr 17 +*autocmd.txt* For Vim version 8.2. Last change: 2022 May 24 VIM REFERENCE MANUAL by Bram Moolenaar @@ -50,7 +50,7 @@ effects. Be careful not to destroy your text. Recommended use: - Always use a group, so that it's easy to delete the autocommand. - Keep the command itself short, call a function to do more work. -- Make it so that the script it is defined it can be sourced several times +- Make it so that the script it is defined in can be sourced several times without the autocommand being repeated. Example in Vim9 script: > |