Tuesday, August 28, 2012

Re: pairing parentheses

On Tuesday, August 28, 2012 9:21:10 AM UTC-5, Gergely Buday wrote:
> Hi there,
>
>
>
> the button % pairs parentheses, square and curly brackets. I use perl
>
> and I had some extra curly braces in comments which made vi to pair
>
> braces wrongly. Is it possible to program vi so that it omits
>
> delimiters in comments?
>
>
>
> - Gergely

From :help %

Nothing special is done for matches in comments. You
can either use the matchit plugin |matchit-install| or
put quotes around matches.

The matchit plugin is distributed with Vim, but you need to enable it. See the referenced :help matchit-install for details.

--
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

No comments: