Edward L. Fox wrote:

> Hi developers,
> 
> 
> Steps to reproduce:
> 
> Vim 7.0 has a problem jumping between matching brackets in the
> following case:
> Foo()
> {
>   // {
> }
> 
> The % command jumps between the close bracket and the open one in the
> comment rather than at the right beginning of function body.
> 
> 
> Expect behavior:
> 
> The % command should jump between semantically matching brackets, such
> as the pair around the function body in the above case.
> 
> Notice the correct matching is hilighted when cursor is on a bracket.

This is not a bug, this is how it always has worked.  Some of my code
actually has "{" or "}" in the comment to match an unmatched brace.

I do understand that you more or less expect the cursor to jump to the
paren that is highlighted by the matchparen plugin.  It's in the todo
list somewhere.

-- 
hundred-and-one symptoms of being an internet addict:
243. You unsuccessfully try to download a pizza from www.dominos.com.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui