Commits on May 2, 2018
Commits on Mar 19, 2018
  1. Merge pull request #255 from roflcopter4/dev

    hoelzro committed Mar 19, 2018
    Add support for indented heredocs in perl
Commits on Mar 16, 2018
Commits on Mar 15, 2018
Commits on Mar 1, 2018
  1. Merge pull request #254 from rsrchboy/topic/setlocal-in-ftplugin

    hoelzro committed Mar 1, 2018
    Set `foldmethod=syntax` in the `ftplugin`, not `syntax`
Commits on Feb 28, 2018
Commits on Feb 27, 2018
  1. Set `foldmethod=syntax` in the `ftplugin`, not `syntax`

    rsrchboy committed Feb 27, 2018
    ...otherwise this causes surprising things to happen when the `perl`
    syntax is included as part of a different syntax.
Commits on Jan 13, 2018
  1. Use get() for configuration variables

    hoelzro committed Jan 13, 2018
    ...instead of just checking for existence, which leads people into
    trying to disable a feature with `let perl_feature=0` but actually
    activates that feature
Commits on Jan 3, 2018
  1. Un-TODO braced package tests

    hoelzro committed Jan 3, 2018
    They work now!
  2. Fix fold detection regex

    hoelzro committed Jan 3, 2018 *not* strip all newlines after a fold marker
    This caused some weird and surprising behavior in the tests which
    required you to not have any blank lines between code, and prevented
    certain tests from working that seemed like they should work - well
    now they do
  3. Die if expected folds are unachievable

    hoelzro committed Jan 3, 2018
    This is really just raising an error for some behavior I found
    in the fold checker, but I want to insulate our tests from these
    kinds of surprises in the future
  4. Fix package folding with one-line subs

    hoelzro committed Jan 3, 2018
    There was a bug with folding braced packages where two or more subroutines
    defined on a single line would have their closing braces treated as
    the closing brace for the package block (the details of why two or more
    and not one is up to a trick we use called perlBraces in
    syntax/perl.vim, which is how we handle nested blocks).  This didn't
    happen if you had anonymous subroutine folding turned on, as the sub
    folding rule there was a little more flexible.  Properly fixing
    the sub rule is difficult and has a lot of potential to break existing
    setups, so until we figure that out, here's a fix for braced packages.
    The fix just assumes that the ending brace for a package will stand
    on its own line and have the same amount of indentation as the package
    keyword that introduced it - this mirrors expectations of Perl code
    in the real world
Commits on Dec 1, 2017
  1. Update TT2 test for new perl syntax

    hoelzro committed Dec 1, 2017
    A while ago, we changed print(...) to parse as a statement rather
    than an identifier, so let's fix that in the tests
  2. [tt2] Don't use VIMRUNTIME to include perl syntax

    hoelzro committed Dec 1, 2017
    Otherwise, we *always* load the perl.vim file included with the
    user's Vim installation, and never allow them to update their Perl
    highlighting within TT2 files via ~/.vim.
    Also, it makes our tests inconsistent across different versions of Vim
Commits on Nov 5, 2017
  1. Don't treat the presence of perl_nofold_packages as truthy

    hoelzro committed Nov 5, 2017
    Actually verify that it exists and contains a truthy value!
Commits on Oct 30, 2017
  1. Add a syntax region for brace packages

    hoelzro committed Oct 30, 2017
    For some reason, this still doesn't pass the tests
Commits on Oct 29, 2017
  1. Add test for braced packages

    hoelzro committed Oct 29, 2017
    For GH #251
  2. Treat unterminated folds in tests as ending at EOF

    hoelzro committed Oct 29, 2017
    Otherwise testing package folds is not possible
Commits on Oct 27, 2017
  1. Clean up opened filehandle

    hoelzro committed Oct 27, 2017
    Perl should do this for us, but it doesn't hurt
  2. Add error colors for visual diff

    hoelzro committed Oct 27, 2017
    01_highlighting needs them
  3. Move visual diff code into its own module

    hoelzro committed Oct 27, 2017
    So we can use it elsewhere
  4. Compare marked JSON instead of HTML in 01_highlighting

    hoelzro committed Oct 27, 2017
    Paving the way for visual diff in this test