diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-02-13 21:19:14 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-02-13 21:19:14 +0100 |
commit | 943e9639a9ecb08bdec78ae6695c917bca6210b9 (patch) | |
tree | d00072ca8b4c753fe1fb4f2dc024591bae4dec1d /runtime/doc | |
parent | 15bbd6ec871a0efdd16256e1fccbaac0fd374cbd (diff) |
patch 8.1.0911: tag line with Ex command cannot have extra fieldsv8.1.0911
Problem: Tag line with Ex command cannot have extra fields.
Solution: Recognize |;" as the end of the command. (closes #2402)
Diffstat (limited to 'runtime/doc')
-rw-r--r-- | runtime/doc/tagsrch.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt index e6589c70b6..f9cc1efdc0 100644 --- a/runtime/doc/tagsrch.txt +++ b/runtime/doc/tagsrch.txt @@ -571,7 +571,14 @@ only supported by new versions of ctags (such as Exuberant ctags). {term} ;" The two characters semicolon and double quote. This is interpreted by Vi as the start of a comment, which makes the following be ignored. This is for backwards compatibility - with Vi, it ignores the following fields. + with Vi, it ignores the following fields. Example: + APP file /^static int APP;$/;" v + When {tagaddress} is not a line number or search pattern, then + {term} must be |;". Here the bar ends the command (excluding + the bar) and ;" is used to have Vi ignore the rest of the + line. Example: + APP file.c call cursor(3, 4)|;" v + {field} .. A list of optional fields. Each field has the form: <Tab>{fieldname}:{value} |