0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 7.4.1568

Problem:    Using CTRL-] in help on option in parentheses doesn't work.
Solution:   Skip the "(" in "('". (Hirohito Higashi)
This commit is contained in:
Bram Moolenaar
2016-03-15 13:44:12 +01:00
parent 1abb502635
commit 00f9e0dbbd
2 changed files with 7 additions and 0 deletions

View File

@@ -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)
{
/*

View File

@@ -743,6 +743,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1568,
/**/
1567,
/**/