Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
ViM Syntax for Perl Including MooseX::Declare Support
VimL Perl
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
contrib Add missing highlighting in inline JS/CSS in Mason
ftdetect Highlight .html files as Mason if they start with Mason tags
ftplugin
indent
syntax
t Better support for comments in <% %> Mason blocks
t_source Move bad-braces.pm into test suite
tools Fill last change template variable
.gitignore
.travis.yml Override rather than augment dependency installation
CONTRIBUTING.md Add contributing notes on testing
Changes Changelog entry for matchit fix
Makefile Move tarball creation into a script
README.md
build-corpus.pl Add helper scripts for testing regressions
funcs-from-perlfunc.pl
verify-corpus.pl Fix chomping for verify-corpus

README.md

vim-perl

This is the aggregation of all the various Perl-related syntax and helper files for Perl 5 and Perl 6.

Installation

You can install vim-perl using

They were all tested and work: please read the related documentation on the related sites.

The legacy method is to install just do a "make install" and you'll get the .vim files all installed in your ~/.vim directory.

Getting Help

Any bug reports/feature requests/patches should be directed to the vim-perl group.

When reporting bugs in the highlighting of items, please include an example file as well as a screenshot demonstrating the problem.

FAQ

Can you add highlighting for Moose, Try::Tiny, Test::More, SQL in strings, etc?

We have syntax "extensions" under the contrib/ directory; you can find custom highlighting for these sorts of things there.

Curly braces inside of regexes/strings are considered when I use %

(See also GH #86)

Vim itself only considers double quotes in this scenario; the matchit plugin, however, can deal with this scenario and vim-perl's files are set up to work with it should you choose to use it.

Contributing

If you would like to contribute to vim-perl (which would be greatly appreciated!), you may find the build-corpus.pl and verify-corpus.pl scripts of use. What I do is drop the sources for Moose, Data::Printer, and Regexp::Debugger in the corpus directory and use the scripts to make sure my changes don't cause regressions in highlighting and folding.

xoxo,
eiro,
Andy (andy@petdance.com)

Something went wrong with that request. Please try again.