Hi Bram and All,
2016-5-19(Thu) 0:05:03 UTC+9 ZyX:
> 2016-05-18 14:06 GMT+03:00 Marius Gedminas <[email protected]>:
>
> No, I've done make, and then I run vim with a wrapper script that
> setsVIMRUNTIME=~/src/vim/runtime and exec's ~/src/vim/src/vim.
>
>
> But I can also reproduce with /usr/bin/vim, which is version 7.4.1689 from
> Ubuntu 16.04 vim-gnome-py2.
>
>
> What else could be different between our systems? Locale? I can still
> reproduce after setting LC_ALL=C.
>
>
>
> In the text you quoted {address} is present *twice*: once with and once
> without dot. Given your error message I think you used the second one with
> dot, but besides that you have not stated explicitly which {address} you
> meant and if I did not see the error message or did not knew that error
> messages usually do not end with a dot I would never think you meant the
> second one.
>
>
> It is reproducible here on the second {address}.
Ah, nice catch up. Thanks.
Bram>
I wrote a patch that improve :help for curly bracket.
Please check and 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 [email protected].
For more options, visit https://groups.google.com/d/optout.
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index d83dc40..12764b4 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -6216,6 +6216,9 @@ find_help_tags(
*/
if (*s == '\'' && s > arg && *arg == '\'')
break;
+ /* Also '{' and '}'. */
+ if (*s == '}' && s > arg && *arg == '{')
+ break;
}
*d = NUL;
diff --git a/src/testdir/test_help_tagjump.vim b/src/testdir/test_help_tagjump.vim
index 62076c3..0f14ade 100644
--- a/src/testdir/test_help_tagjump.vim
+++ b/src/testdir/test_help_tagjump.vim
@@ -25,6 +25,16 @@ func Test_help_tagjump()
call assert_equal("help", &filetype)
call assert_true(getline('.') =~ '\*arglistid()\*')
helpclose
+
+ exec "help! 'autoindent'."
+ call assert_equal("help", &filetype)
+ call assert_true(getline('.') =~ "\\*'autoindent'\\*")
+ helpclose
+
+ exec "help! {address}."
+ call assert_equal("help", &filetype)
+ call assert_true(getline('.') =~ '\*{address}\*')
+ helpclose
endfunc
let s:langs = ['en', 'ab', 'ja']