On 19-Jul-2013 05:57 +0200, studog wrote:
> On Thursday, July 18, 2013 4:15:22 PM UTC-4, Marcin Szamotulski wrote:
>> Writting a pattern which has to match all the languages is not the best
>> idea. But maybe refining the pattern would help:
>>
>> ^--[a-zA-Z ,^-]\{-}--$
>
> No, I mean:
>
> syn region svnRegion
> start="^--This line, and those below, will be ignored--$"
> start="^--<German language text>--$"
> start="^--<French language text>--$"
> ...
> end="\%$" contains=ALL
>
> since syn region can take multiple start conditions.
Yes, I would go with that (though it's some effort to maintain). I
remember seeing some syntax file that did this (but can't find the
reference right now).
-- regards, ingo
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.