Ben Fritz skrev:
> 
> 
> On Jul 7, 12:17 pm, Benct Philip Jonsson <[email protected]> wrote:
>> Tony Mechelynck skrev:
>>> 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.)
>> Can this be done form a syntax definition file?
>>
> 
> Technically, yes. But why would you want to? The syntax definition
> file is meant to provide syntax highlighting rules, nothing more. The
> CORRECT place for this is in an ftplugin directory, as Tony suggests.
> Is there any reason you don't want to do it this way?

Only to avoid having two files when I can have one.

/BP

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

Reply via email to