]> granicus.if.org Git - vim/commitdiff
patch 7.4.1568 v7.4.1568
authorBram Moolenaar <Bram@vim.org>
Tue, 15 Mar 2016 12:44:12 +0000 (13:44 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 15 Mar 2016 12:44:12 +0000 (13:44 +0100)
Problem:    Using CTRL-] in help on option in parentheses doesn't work.
Solution:   Skip the "(" in "('". (Hirohito Higashi)

src/ex_cmds.c
src/version.c

index b7434774af5f920cee957d918525020a1cd27da3..6461c3c08f70afad53238228cc76f87e1ec32f08 100644 (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)
          {
            /*
index eecbfe1ed2486e1114831cf0ce18236614316107..bfb196870af709e7510011ec226af2e46041b617 100644 (file)
@@ -743,6 +743,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1568,
 /**/
     1567,
 /**/