Hi Bram,
2016-3-15(Tue) 21:54:57 UTC+9 h_east:
> Hi Bram,
>
> 2016-3-15(Tue) 21:44:36 UTC+9 Bram Moolenaar:
> > Hirohito Higashi wrote:
> >
> > > 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.
> >
> > That is useful, thanks.
> >
> > We should have a test for this complicated stuff...
>
> Thanks for including my patch!
> I begin to write a test from now.
> Please wait one hour.
Here is a test.
P.S.
Hopefully, following patch also want to include.
https://groups.google.com/d/msg/vim_dev/fH5gsRE-EjE/PtJD1gL-FwAJ
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/Makefile b/src/Makefile
index a52a1f3..17f7c5c 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2008,6 +2008,7 @@ test_arglist \
test_file_perm \
test_glob2regpat \
test_hardcopy \
+ test_help_tagjump \
test_history \
test_increment \
test_join \
diff --git a/src/testdir/test_alot.vim b/src/testdir/test_alot.vim
index 55502ba..f4a1450 100644
--- a/src/testdir/test_alot.vim
+++ b/src/testdir/test_alot.vim
@@ -9,6 +9,7 @@ source test_expand.vim
source test_feedkeys.vim
source test_file_perm.vim
source test_glob2regpat.vim
+source test_help_tagjump.vim
source test_join.vim
source test_lispwords.vim
source test_menu.vim
diff --git a/src/testdir/test_help_tagjump.vim b/src/testdir/test_help_tagjump.vim
new file mode 100644
index 0000000..72dacd9
--- /dev/null
+++ b/src/testdir/test_help_tagjump.vim
@@ -0,0 +1,13 @@
+" Tests for :help! {subject}
+
+func Test_help_tagjump()
+ exec "help! ('textwidth'"
+ call assert_equal("help", &filetype)
+ exec "helpclose"
+
+ exec "help! ('buflisted'),"
+ call assert_equal("help", &filetype)
+ exec "helpclose"
+endfunc
+
+" vim: tabstop=2 shiftwidth=0 expandtab