On Jan 7, 2:48 pm, Gary Johnson <[email protected]> wrote:
> On 2012-01-07, Tony Mechelynck wrote:
>
>
>
>
>
> > On 07/01/12 22:06, Peng Yu wrote:
> > >On Sat, Jan 7, 2012 at 2:17 PM, Gary Johnson wrote:
> > >>On 2012-01-07, Peng Yu wrote:
> > >>>>What is the output from this command?
>
> > >>>> :verbose set matchpairs?
>
> > >>>Here is the output.
>
> > >>>:verbose set match
> > >>>matchpairs matchtime
> > >>> matchpairs=(:),{:},[:],<:>
> > >>> Last set from ~/.vimrc
>
> > >>That's not what I expected, but I think I understand the problem
> > >>because I now observe the same problem when I edit an HTML file.
> > >>You probably have the matchit.vim plugin enabled. Execute this
> > >>command,
>
> > >Right, I indeed have it installed. Just to make sure, this is a bug in
> > >html.vim but not in matchit.vim, right?
>
> > Actually, IIUC it's a bug in neither — unless the HTML plugin has to
> > care for embedded Javascript and CSS.
>
> My assessment of this as a bug has nothing to do with the use of
> those pairs by any programming or markup language, but rather by
> their use in ordinary text. % is useful for moving the cursor
> between those pairs regardless of the context. If % works for (
> and ) in plain text, it should continue to work for ( and ) in
> text embedded in HTML.
>
> Regards,
> Gary
Interesting, possibly related,
using % in the first fails but works in the second.
1) decimal \d\{1,}
Remove the \ before the { and % works !
Is that documented?
2) buttons {"OK"}
Bill
--
You received this message from the "vim_use" 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