Permalink
Switch branches/tags
Nothing to show
Commits on May 17, 2011
  1. Move indenting logic together

    kchmck committed May 17, 2011
  2. Expand if-elseif chain in `GetCoffeeIndent`

    kchmck committed May 17, 2011
    Get rid of more confusing groups and unnecessary checks
  3. Comments

    kchmck committed May 17, 2011
  4. Expand `ShouldSkip` condition

    kchmck committed May 17, 2011
    Get rid of confusing groups
  5. Fix `when` indentation bugs

    kchmck committed May 17, 2011
    Since `searchpair` was screwing up and `when` doens't need as much logic as the
    others to find a matching pair, split it into a loop.
Commits on May 16, 2011
  1. Parse syntax errors

    kchmck committed May 16, 2011
  2. Fix outdent grouping

    kchmck committed May 16, 2011
  3. Fix outdenting with string before postfix condition

    kchmck committed May 16, 2011
    For cases like:
    
      return 'derp' if boop
    
    where the match was starting inside 'derp' and confusing SmartSearch
Commits on May 13, 2011
  1. Use the right variable

    kchmck committed May 13, 2011
  2. Rewrite indenting

    kchmck committed May 13, 2011
     - Ignore matches inside strings and comments and completely ignore lines that
       are comments
     - Get rid of Regex* functions for just string concats
     - Get rid of Should* functions for an if-elseif chain in GetCoffeeIndent
     - Get rid of outdent logic, since it's handled in GetMatch
     - Wrap GetCoffeeIndent to preserve the cursor
     - Fix words like `this` being thought of as continuations
    
    Report any regressions!
Commits on May 6, 2011
  1. Merge pull request #22 from narfdotpl/patch-1

    kchmck committed May 6, 2011
    Fix funny typo
  2. Fix funny typo

    narfdotpl committed May 6, 2011
Commits on May 5, 2011
  1. Add the CoffeeMake command

    kchmck committed May 3, 2011
    coffee_compile_on_save is deprecated. See the autocompiling section of the
    readme for upgrade instructions.
    
    Thanks to i5m in Issue #20 for code inspiration.
  2. Readme

    kchmck committed May 5, 2011
Commits on Apr 27, 2011
  1. Fix string assignment bug

    kchmck committed Apr 27, 2011
    Was wrongly highlighting things outside quotes, like:
    
      ':' + derp + ':'
Commits on Apr 26, 2011
  1. Comment

    kchmck committed Apr 26, 2011
  2. Use a character group

    kchmck committed Apr 26, 2011
Commits on Apr 23, 2011
  1. Smarter postfix condition checking

    kchmck committed Apr 23, 2011
    Fix these cases:
    
      if abc
      | derp if def
      | berp()
      else
    
      if abc
      | derp = if def
      | | berp()
      | else
      |   boop()
      else
  2. Smarter handling of `then` in lookback

    kchmck committed Apr 23, 2011
    Only skip a line with the `then` keyword if it's not the line directly above.
Commits on Apr 22, 2011
  1. Escape brackets

    kchmck committed Apr 22, 2011
  2. Hopefully fix todo rendering

    kchmck committed Apr 22, 2011
  3. Remove broken 3-piece comments

    kchmck committed Apr 19, 2011
    This should cause no change in behavior.
  4. Initial lookback outdenting

    kchmck committed Apr 22, 2011
    Report any regressions!
  5. Return -1 instead

    kchmck committed Apr 22, 2011
  6. Fix code alignment

    kchmck committed Apr 22, 2011
Commits on Apr 21, 2011
  1. Only skip quotes of the same type in string assignments

    kchmck committed Apr 21, 2011
    This fixes things like:
    
      doop =
        '"abc"': "berp"
  2. Support empty string in string assignment

    kchmck committed Apr 21, 2011
    For things like:
    
      blop =
        '': "bloop"
  3. Use \%( instead of \(

    kchmck committed Apr 20, 2011
  4. Make coffeeComment a region

    kchmck committed Apr 20, 2011
    Not sure why I changed it from a region to a match, but this fixes highlight
    updating.