Skip to content
Commits on Apr 3, 2015
  1. @hoelzro

    Add #| and #= as comment strings

    hoelzro committed
    This is so that if you're writing a multi-line declarator block,
    new lines will be prepended with the correct declarative comment
    string
Commits on Feb 14, 2015
  1. @hinrik

    Proper stupport for ' in Perl 6 identifiers

    hinrik committed
    Now that the syntax file doesn't rely on 'iskeyword', we can add the
    apostrophe to it.
  2. @hinrik

    Fix Perl 6 identifier matching & highligting

    hinrik committed
    Backstory:
      * 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 Feb 9, 2015
  1. @blueyed
  2. @blueyed
Commits on Dec 16, 2013
  1. @hinrik

    Merge pull request #124 from harleypig/add_matchit_match_words

    hinrik committed
    added match_words variable setting
Commits on Oct 24, 2013
  1. @hinrik

    Don't set 'iskeyword' globally

    hinrik committed
    That line was added in 11049a7 by Rob Hoelz, and I suspect he didn't
    mean to make it global.
Commits on Jul 21, 2013
  1. @hoelzro
  2. @hoelzro
Commits on Jul 16, 2013
  1. @harleypig
Commits on May 11, 2013
  1. @hoelzro

    Add : to iskeyword

    hoelzro committed
  2. @hoelzro

    Add ftplugin for tt2html

    hoelzro committed
  3. @hoelzro

    Fix match_skip for Perl files

    hoelzro committed
  4. @hoelzro
  5. @hoelzro

    Update headers a bit

    hoelzro committed
  6. @hoelzro

    Remove t from formatoptions and add ol

    hoelzro committed
    Closes GH #91
Commits on Dec 18, 2012
  1. @hoelzro
  2. @hoelzro
  3. @hoelzro
  4. @hoelzro

    Fix iskeyword to include dashes

    hoelzro committed
  5. @hoelzro

    Replace tabs with spaces

    hoelzro committed
  6. @hoelzro

    Merge pull request #88 from eiro/master

    hoelzro committed
    my improvements
Commits on Nov 1, 2012
  1. @petdance
Commits on Oct 27, 2012
  1. @eiro

    make include path work for perl6

    eiro committed
Commits on May 5, 2012
  1. let gf open module files even if the module name is used with a metho…

    Manni Heumann committed
    …d name like in Foo::Bar->new
Commits on May 24, 2011
  1. avoid overwriting 'path'; restore it after use

    Samuel Ferencik committed
Commits on Oct 8, 2010
  1. @petdance
Commits on Aug 14, 2010
  1. @petdance
  2. @petdance

    remove commented-out code

    petdance committed
Commits on Aug 10, 2010
  1. @petdance

    updated Last Change dates

    petdance committed
  2. @petdance
Commits on May 4, 2010
  1. @petdance
  2. @petdance
Commits on Aug 14, 2009
  1. @petdance

    updated the ownership

    petdance committed
  2. @petdance

    added ftplugin/perl.vim

    petdance committed
Something went wrong with that request. Please try again.