Am 2016-08-23 14:49, schrieb Bertram Scharpf:
Hi,
there is a newer version of syntax/perl.vim in
<https://github.com/vim-perl/vim-perl>. Please update the
Vim standard package to that.
Explanation:
I happened to write a Perl tutorial with lots of example
code:
----------------------------------------------------------------v
@list = qw(foo bar baz);
print $_, "\n" for (@list);
----------------------------------------------------------------^
As I show this during a presentation on a screen (in Vim!),
I want these pieces to be syntax highlighted. Therefore I
wrote:
syn include @Perl syntax/perl.vim
syntax region perlcourseCode matchgroup=perlcourseSep
start=+^-\{64,}v$+ end=+^-\{64,}\^$+ contains=@Perl keepend
hi link perlcourseCode NONE
hi link perlcourseSep MoreMsg
There is a bug in the old version of Perl syntax that makes
almost everything a function name and the whole highlighting
is spoiled.
The current version fixes this. The version shipped with Vim
is 3 years old. Please update.
Bertram
Open an issue at the upstream vim-perl repository
to send an updated syntax file for inclusion with Vim to Bram.
There is nothing we can do here.
PS: There already exists https://github.com/vim-perl/vim-perl/issues/197
doesn't look like upstream is eager to update its syntax files
regularly.
Best,
Christian
--
--
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/d/optout.