I'm setting up syntax highlighting for a custom file type.  Everything
works great except this regexp:

    syntax match myTag /Mon|Tue|Wed/

'myTag' is supposed to match "Mon" or "Tue" or "Wed"  -  but it won't
work.

My workaround is to have three statements in my <lang>.vim syntax
file:

    syntax match myTag /Mon/
    syntax match myTag /Tue/
    syntax match myTag /Wed/

How do I make this work with just one statement ?!?!?


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

Reply via email to