Hi Bram and list, Sometimes tag-jump failed in the help. Because, the help's 'iskeyword' option contains `(`.
Failed case #1: :h E29 /textwidth <C-]> E149: Sorry, no help for ('textwidth' Failed case #2: :h viminfo-% /buflisted <C-]> E149: Sorry, no help for ('buflisted'), I wrote a patch. When tag starts `('` skip `(` at ":help". It is very useful :-) Please include an attached patch. -- Best regards, Hirohito Higashi (a.k.a. h_east) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 55b0661..94814fc 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -6114,6 +6114,12 @@ find_help_tags( || (arg[0] == '\\' && arg[1] == '{')) *d++ = '\\'; + /* + * If tag starts with parenthesis, skip it. Fixes CTRL-] on ('option'. + * (would include the facing parenthesis). + */ + if (*arg == '(' && arg[1] == '\'') + arg++; for (s = arg; *s; ++s) { /*