You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Re-source your configuration, do PlugInstall, and you're done.
The do argument is optional, and can be used
if you want to enable any of the optional sub-syntaxes.
The perl argument is also optional, and only required if you want to
lazy-load the plugin only if dealing with Perl files.
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. To enable any of them, just drop the relevant
file in a after/syntax/perl directory visible to vim.
$ cp contrib/dancer.vim ~/.vim/after/syntax/perl/
You can also populate the local after/syntax/perl/ via make:
$ make dancer moose
$ ls after/syntax/perl
dancer.vim moose.vim
Curly braces inside of regexes/strings are considered when I use %
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.