From: Bram Moolenaar Date: Tue, 15 Mar 2016 12:44:12 +0000 (+0100) Subject: patch 7.4.1568 X-Git-Tag: v7.4.1568 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=00f9e0dbbd3472db217d56639fad9346b9eb3b82;p=thirdparty%2Fvim.git patch 7.4.1568 Problem: Using CTRL-] in help on option in parentheses doesn't work. Solution: Skip the "(" in "('". (Hirohito Higashi) --- diff --git a/src/ex_cmds.c b/src/ex_cmds.c index b7434774af..6461c3c08f 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -6114,6 +6114,11 @@ find_help_tags( || (arg[0] == '\\' && arg[1] == '{')) *d++ = '\\'; + /* + * If tag starts with "('", skip the "(". Fixes CTRL-] on ('option'. + */ + if (*arg == '(' && arg[1] == '\'') + arg++; for (s = arg; *s; ++s) { /* diff --git a/src/version.c b/src/version.c index eecbfe1ed2..bfb196870a 100644 --- a/src/version.c +++ b/src/version.c @@ -743,6 +743,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1568, /**/ 1567, /**/