> Hello, I`m rewriting Embperl`s syntax file definition for upcoming VIM
6.0.

There are already two of them (see
http://perl.apache.org/embperl/Embperl.pod.17.html#VIM ), but I personaly
never have tried them.

> There is a confilct with $] because my syntax highlight script uses
perl.vim
> highlighter to highlight perl`s code.
>
> There can be another problem also (I know $] variable is depricated, but
> still usable). The code:
>
> [$ if( $] > 3.019 ) $]
> Bla bla bla
> [$ endif $]
>

Workaround is

[- $x = $] -]
[$ if( $x > 3.019 ) $]
Bla bla bla
[$ endif $]

>
> For this reason I suggest some substitution, like [& &]
>

I surely will find a regex that creates an error with [& &] also, so you
don't win anything. Both are rare cases so I think the current solution
shouldn't be a real problem.

Gerald

P.S. Embperl 2.0 allows you to redefine [$ $] into any markup you prefer...


-------------------------------------------------------------
Gerald Richter    ecos electronic communication services gmbh
Internetconnect * Webserver/-design/-datenbanken * Consulting

Post:       Tulpenstrasse 5         D-55276 Dienheim b. Mainz
E-Mail:     [EMAIL PROTECTED]         Voice:    +49 6133 925131
WWW:        http://www.ecos.de      Fax:      +49 6133 925152
-------------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to