Fixing vim's syntax highlighting issue with !!

Ovid on 2009-03-30T13:29:46

sub foo {
    my $class = shift;
    !!@_ or return 1;<<;
!

    # do stuff
}

Useless, but fun.


Syntax bummers

petdance on 2009-03-30T14:44:08

I am now the maintainer of perl.vim, and the repo is at http://github.com/petdance/vim-perl/tree/master if anyone wants to fix the underlying .vim file.

Re:Syntax bummers

sigzero on 2009-03-30T16:29:39

Wow, I had no idea it moved to you. :-)

Re:Syntax bummers

petdance on 2009-03-30T16:31:14

I haven't committed anything back to the vim project, but the call went up for maintainers and I raised my hand.

Would love to see any improvements.

Re:Syntax bummers

Hinrik on 2009-03-30T17:02:25

mauke has been maintaining a version of perl.vim for a few years. If you are the official maintainer now, I believe you should at least use his latest version as a base. It's much better than the one currently provided by vim. See http://www.vim.org/scripts/script.php?script_id=2300

In addition, I noticed a perl6.vim in your repository. It seems to be an outdated version of the syntax file in the pugs repository. That file has seen vast amounts of improvements (by me) since then. You can find it at http://svn.pugscode.org/pugs/util/perl6.vim

Re:Syntax bummers

petdance on 2009-03-30T18:22:39

Thanks for that, I will do so.

Re:Syntax bummers

petdance on 2009-06-03T04:39:19

This is now being tracked at http://github.com/petdance/vim-perl/issues#issue/3