diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-03-15 13:44:12 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-03-15 13:44:12 +0100 |
commit | 00f9e0dbbd3472db217d56639fad9346b9eb3b82 (patch) | |
tree | c37ec1594ea361649128ab760a5cc44bacd97545 | |
parent | 1abb502635c7f317e05a0cf3ea067101f9d684f5 (diff) | |
download | vim-git-00f9e0dbbd3472db217d56639fad9346b9eb3b82.tar.gz |
patch 7.4.1568v7.4.1568
Problem: Using CTRL-] in help on option in parentheses doesn't work.
Solution: Skip the "(" in "('". (Hirohito Higashi)
-rw-r--r-- | src/ex_cmds.c | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index b7434774a..6461c3c08 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 eecbfe1ed..bfb196870 100644 --- a/src/version.c +++ b/src/version.c @@ -744,6 +744,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1568, +/**/ 1567, /**/ 1566, |