Tony Mechelynck skrev:
> On 24/06/09 17:32, Benct Philip Jonsson wrote:
>> How can I get vim to highlight matching angle brackets<  >
>> the same way it highlights matching ( ) [ ] { } ?
>>
>> /BP
> 
> for all buffers: in your vimrc
> 
>       set matchpairs+=<:>
> 
> 
> 
> for all files of a given filetype (e.g. html): in (on Linux) 
> ~/.vim/after/ftplugin/html.vim
> 
>       setlocal matchpairs+=<:>
> 
> (replace html in the filename by whatever filetype you want to apply it 
> to. Create the file and/or directories if they don't yet exist.)
> 
> 
> 
> for the current buffer: at the keyoard
> 
>       :setl mps+=<:>
> 
> 
> 
> see :help 'matchpairs'

Can this be done form a syntax definition file?

/BP

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

Reply via email to