Skip to content
Commits on Mar 3, 2015
  1. @hinrik
  2. @hinrik
Commits on Mar 1, 2015
  1. @hinrik

    Accommodate old Vim (<7.4) versions using perl6.vim

    hinrik committed Mar 2, 2015
    Running "make install" will now remove the regex optimization from the
    syntax file if the user has an old Vim.
    For those who try to run an unmodified perl6.vim, we now print an error
    when the syntax file is loaded.
  2. @hinrik

    Fix misspelled shebang

    hinrik committed Mar 1, 2015
Commits on Feb 14, 2015
  1. @hinrik

    Fix Perl 6 identifier matching & highligting

    hinrik committed Feb 10, 2015
      * Perl 6 allows dashes in identifiers.
      * When I worked on syntax/perl6.vim in the past, I made heavy use of
        \k and \K (which are based on 'iskeyword') for convenience. At the
        time, 'iskeyword' in ftplugin/perl6.vim did not include a dash,
        which worked out fine for my needs.
      * As of f7f84ea, a dash is included in 'iskeyword', which is the
        right way to go as it makes various Vim keyword commands work on all
        Perl 6 identifiers. But this broke a lot of identifier-related
        highlighting. It's not simple to work around, since having a dash
        in \k and \K makes those classes useless for identifier-matching
        due to the rules about where a dash is allowed in identifiers.
        E.g. "$foo--bar" is illegal, and "$foo-5" is an expression.
    Since the regexes in the syntax file are getting rather unwieldy
    already, I don't want to simply replace all uses of \k and \K with
    new regexes. I would prefer to write them only once and refer to them
    later by name.
    The only way to do this in VimL is to concatenate and eval strings,
    which would makes the file even longer and less readable. So I opted for
    introducing a preprocessor instead.
    I'm adding syntax/perl6.vim.pre which will be the master source file,
    and leaving syntax/perl6.vim there as the preprocessed version. This way
    the syntax file still works out of the box when bundling this repository
    with pathogen or vundle or whatever. However, anyone who works on the
    Perl 6 syntax file should now edit syntax/perl6.vim.pre instead, and run
    "make preproc" (or just "make") before committing their changes.
    Additionally, I also added high-bit alphabetical characters to 'iskeyword',
    since Perl 6 allows them in identifiers.
    I also added a few syntax tests for Perl 6 which relate to idenfifiers.
    While converting the patterns to use the preprocessed ones I also fixed
    up some inconsistencies related to identifier. Most notably, dashes are
    now allowed in Pod identifiers.
    There are other cases in the syntax file where patterns are reused, so I
    will be moving more patterns into preprocessor macros to enhance
    maintainability. This is especially pertinent to the syntax regions,
    which have very long start/end patterns already.
Commits on Jan 21, 2015
  1. @yanick
Commits on Jul 21, 2013
  1. @hoelzro
Commits on Jun 5, 2013
  1. @petdance
Commits on May 13, 2013
  1. @petdance

    add new files

    petdance committed May 12, 2013
Commits on Mar 29, 2012
  1. @harleypig

    added my own, the one that comes with vim is more than 10…

    harleypig committed Mar 29, 2012
    … years old according to its comments
Commits on Dec 30, 2010
  1. @vovkasm @petdance

    allow pass PREFIX to install command:

    vovkasm committed with petdance Oct 18, 2010
     this allow, for example install into bundle: make install
    PREFIX=~/.vim/bundles/vim-perl (see Pathogen plugin
  2. @yanick @petdance
Commits on Jul 22, 2010
  1. @petdance

    Added tt2*.vim

    petdance committed Jul 21, 2010
Commits on May 8, 2010
  1. @petdance

    Added support for xs.vim

    petdance committed May 7, 2010
Commits on Sep 2, 2009
  1. @petdance

    add more notes to default

    petdance committed Sep 2, 2009
  2. @hinrik @petdance

    Added a test harness.

    hinrik committed with petdance Sep 1, 2009
    Try it with "make test". It can still be improved, though. Most
    noticably, it doesn't let you test individual files. It always tests
    them all in one go.
    Might also want to look into using one vim instance to test all of
    them instead of running a new one every time. It could speed things up,
    but would probably require heavy patching of Text::VimColor.
  3. @pioto @petdance

    Be BSD-friendly.

    pioto committed with petdance Sep 2, 2009
    Signed-off-by: Andy Lester <>
Commits on Aug 15, 2009
  1. @petdance

    sorted filenames

    petdance committed Aug 15, 2009
Commits on Aug 14, 2009
  1. @petdance


    petdance committed Aug 14, 2009
  2. @petdance

    added ftplugin/perl.vim

    petdance committed Aug 14, 2009
  3. @petdance

    Adding pod.vim

    petdance committed Aug 14, 2009
Commits on Aug 3, 2009
  1. @petdance

    added a tarball target

    petdance committed Aug 3, 2009
Commits on Jul 6, 2009
  1. @petdance

    add ftplugin

    petdance committed Jul 6, 2009
Commits on Jul 4, 2009
  1. @petdance
  2. @petdance
  3. @petdance
Commits on Jun 5, 2009
  1. @petdance

    install indent/perl.vim

    petdance committed Jun 4, 2009
Commits on Feb 22, 2009
  1. @petdance

    no default target

    petdance committed Feb 21, 2009
  2. @petdance

    make a makefile

    petdance committed Feb 21, 2009
Something went wrong with that request. Please try again.