aboutsummaryrefslogtreecommitdiff
path: root/runtime
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2019-08-10 17:13:48 +0200
committerDaniel Hahler <git@thequod.de>2019-08-10 17:21:18 +0200
commit4109ee8ef4e94bb87bb80e21a35b3697fd5e6229 (patch)
treea0a7d5c50e479e78608c3ac87e4127a18aff3fdb /runtime
parent5f243fc68ad0ab9c3bdf484c8f2753ec9414bf37 (diff)
downloadrneovim-4109ee8ef4e94bb87bb80e21a35b3697fd5e6229.tar.gz
rneovim-4109ee8ef4e94bb87bb80e21a35b3697fd5e6229.tar.bz2
rneovim-4109ee8ef4e94bb87bb80e21a35b3697fd5e6229.zip
vim-patch:8.1.0911: tag line with Ex command cannot have extra fields
Problem: Tag line with Ex command cannot have extra fields. Solution: Recognize |;" as the end of the command. (closes vim/vim#2402) https://github.com/vim/vim/commit/943e9639a9ecb08bdec78ae6695c917bca6210b9
Diffstat (limited to 'runtime')
-rw-r--r--runtime/doc/tagsrch.txt9
1 files changed, 8 insertions, 1 deletions
diff --git a/runtime/doc/tagsrch.txt b/runtime/doc/tagsrch.txt
index 58dd3259fd..bb3134feb6 100644
--- a/runtime/doc/tagsrch.txt
+++ b/runtime/doc/tagsrch.txt
@@ -537,7 +537,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}