On 11:15 Thu 18 Jul , studog wrote:
> This morning I noticed that the svn syntax file isn't quite correct; in a few
> places the regex
> ^--.*--$
> is used to find the commit message delimiter.
>
> I checked the source code for svn 1.8.0 and the delimiter is exactly
> --This line, and those below, will be ignored--
> or its localized form.
>
> I'd like to update the regex so it's accurate, but I'd need to handle all the
> languages. Is it possible to support localization within a syntax file? A
> quick look at
> :he :syn
> didn't reveal anything.
>
> Hm, on reread it looks like I could just paste in a number of start regexes,
> one per language. If that's okay I'll do up a patch shortly.
>
> ...Stu
>
> --
> --
> 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.
>
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 ,^-]\{-}--$
Or something of this sort.
Best regards,
Marcin Szamotulski
--
--
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.