Lev Lvovsky wrote:
> Hi James,
>
> On Oct 20, 2009, at 11:04 AM, James Michael Fultz wrote:
>
>   
>> * Lev Lvovsky <[email protected]> [2009-10-20 10:09 -0700]:
>>     
>>> I have an option (don't know which), that is turned on in vim which
>>> highlights matching parens when I'm over either the opening or
>>> closing.  By highlight, I mean that the cursor changes colors for  
>>> both
>>> parens.  I'd like to turn this option on in another vim session which
>>> doesn't do this - any idea what command it might be?
>>>       
>> :set showmatch
>>     
>
> I saw this, but sadly it's not what I'm looking for.  Based on the  
> help for 'showmatch' it jumps the cursor briefly from opening to  
> closing.
>
> The option which I'm looking for colors the opening and closing  
> characters when the cursor is over either one.  Is there some other  
> setting which showmatch refers to which makes this happen?
>
>   
What version of vim are you using that you don't have highlighting for 
matching parentheses?  With vim 7.x, the matchparen.vim plugin is 
automatically loaded if you have

  set nocp
  filetype plugin indent on

in your <.vimrc>.  To prevent the matchparen plugin from loading, one 
may put:

  let g:loaded_matchparen          = 1         " don't load matching 
parenthesis plugin

in your <.vimrc>; conversely, if you want the matching parenthesis 
highlighting and aren't getting it, perhaps you've forgotten that you 
put the line above in your <.vimrc>.

Regards,
Chip Campbell


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

Reply via email to