Loading ...
Sorry, an error occurred while loading the content.

Re: pairing parentheses

Expand Messages
  • Ben Fritz
    ... 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
    Message 1 of 2 , Aug 28, 2012
    • 0 Attachment
      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
    Your message has been successfully submitted and would be delivered to recipients shortly.