> If you choose to place the regex in a string, you'll need to
> escape that '\' character.  Use either:
>
>    :echo match("ip", "i\\|p")
> or
>    :echo match("ip", 'i\|p')

Thanks :-)

Attached is a patch to filetype.vim that adds objc detection for .h  
files. I don't know if this is of general interest, but I think so.

Nico


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

Attachment: objc.patch
Description: Binary data



Raspunde prin e-mail lui