diff options
author | zeertzjq <zeertzjq@outlook.com> | 2024-03-16 16:21:20 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-16 09:21:20 +0100 |
commit | 989faa4fce65a48d95fd8c9ae402672d70b8de7f (patch) | |
tree | dd7ab6d950c07507b9329b7b20c229845f6f59cc /runtime/doc | |
parent | b4b3d7de2413bf277445ea724c9cbd5e6bf9a334 (diff) |
runtime(doc): make :h tag-! more consistent (#14208)
- Use "on" and "off" for 'winfixbuf' option values.
- Retab the table.
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/tagsrch.txt | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt index ce6d44634b..d3d549ab2e 100644 --- a/runtime/doc/tagsrch.txt +++ b/runtime/doc/tagsrch.txt @@ -1,4 +1,4 @@ -*tagsrch.txt* For Vim version 9.1. Last change: 2024 Mar 03 +*tagsrch.txt* For Vim version 9.1. Last change: 2024 Mar 16 VIM REFERENCE MANUAL by Bram Moolenaar @@ -407,23 +407,23 @@ the pattern. *tag-!* If the tag is in the current file this will always work. Otherwise the performed actions depend on whether the current file was changed, whether a ! -is added to the command and on the 'autowrite' option: +is added to the command and on the 'autowrite' and 'winfixbuf' options: - tag in file autowrite ~ -current file changed ! winfixbuf option action ~ + tag in file winfixbuf autowrite ~ +current file changed ! option option action ~ ----------------------------------------------------------------------------- - yes x x no x goto tag - no no x no x read other file, goto tag - no yes yes no x abandon current file, + yes x x off x goto tag + no no x off x read other file, goto tag + no yes yes off x abandon current file, read other file, goto tag - no yes no no on write current file, + no yes no off on write current file, read other file, goto tag - no yes no no off fail - yes x yes x x goto tag - no no no yes x fail - no yes no yes x fail - no yes no yes on fail - no yes no yes off fail + no yes no off off fail + yes x yes x x goto tag + no no no on x fail + no yes no on x fail + no yes no on on fail + no yes no on off fail ----------------------------------------------------------------------------- - If the tag is in the current file, the command will always work. |