Bug#458630: vim-runtime: the wrong syntax highlight of the program code in Perl

James Vega jamessan at debian.org
Wed Jan 2 17:33:47 UTC 2008


On Wed, Jan 02, 2008 at 12:27:29PM +0300, Dmitry E. Oboukhov wrote:
> For all that in the majority of cases after the open marker (<<endquote)
> there's needed some statement, for example semicolumn, closing bracket,
> etc.
> 
> Example:
> 
> $dbh->do(<<endsql, undef, $cid);
>         DELETE FROM query
>         WHERE query.id=?
> endsql
> 
>  Parameters written after open marker will colour wrongly.

Vim's current syntax highlighting capabilities are unable to properly
highlight this.  It's not possible to define a syntax region that skips
highlighting part of the region match.

James
-- 
GPG Key: 1024D/61326D40 2003-09-02 James Vega <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-vim-maintainers/attachments/20080102/16f14374/attachment.pgp 


More information about the pkg-vim-maintainers mailing list