Commits on Sep 18, 2016
  1. Merge pull request #317 from haya14busa/fix-syntax-error

    fix syntax error
    AndrewRadev committed on GitHub Sep 18, 2016
Commits on Sep 17, 2016
  1. fix syntax error

    haya14busa committed Sep 17, 2016
Commits on Sep 15, 2016
  1. Remove duplicate help tag

    Fixes #316.
    dkearns committed Sep 15, 2016
Commits on Sep 12, 2016
  1. Syntax doc copy editing

    This has been synced with the content in Vim's doc/syntax.txt.
    dkearns committed Sep 12, 2016
Commits on Sep 5, 2016
Commits on Sep 2, 2016
  1. Fix issue with default block parameters

    The block pipe is considered a line continuation. By expanding `\W` into
    `[^[:alnum:]]` and adding the `:` to it, the regex only matches pipes
    that don't have `:` before them. Unfortunately, a space messes this up,
    so we add a `:\@<!` to check if there wasn't a space before said
    alphanumeric character.
    Just adding extra whitespace wouldn't really work, since the standard
    pipe continuation breaks. `foo | bar` is a perfectly reasonable "bitwise
    or" operator, which has a word character, followed by a space...
    I can't currently think of a scenario where this would be a problem,
    even if it does complicate the regexes a bit.
    AndrewRadev committed Sep 2, 2016
Commits on Aug 31, 2016
Commits on Aug 27, 2016
  1. Merge pull request #308 from mattn/ruby-params

    Block parameters are possible to be in next line.
    dkearns committed on GitHub Aug 27, 2016
  2. Minor doc copy editing

    dkearns committed Aug 27, 2016
Commits on Aug 24, 2016
  1. Change "backtick" to "backslash"

    What was I thinking?
    AndrewRadev committed Aug 24, 2016
Commits on Aug 20, 2016
  1. Handle backtick continuations

    While they generally seemed to work in most cases, there wasn't really
    any explicit handling of this sort of continuation, and in the case
    described in the added test, the presence of a `.` and `#` confused
    pattern-matching somehow in the case of searching for an MSL. The
    indentation for the line after the `\` ended up falling back to the
    final `return` where we would just return the previous line's indent.
    Unfortunately, I'm still fuzzy on the details of how this was
    possible and why this isn't a problem in *all* cases, not just ones with
    a `.` and a `#` following. It's likely that future issues will provide
    more information to triangulate the problem.
    AndrewRadev committed Aug 20, 2016
  2. Fix bug with blocks in argument lists

    A "non-bracket" continuation seems to be too wide of a net. Introducing
    a "dot" continuation helps to fix the issue, since it seems like method
    chains in particular have some specific behaviour.
    Instead of copying the regexes around, it might make sense to create a
    "Continuation" object or something that holds various properties of the
    given line -- does it end in a comma, dot, bracket, etc. This might be a
    simple refactoring that would make the code slightly more readable. A
    next step might be to add additional information to this object, like the
    columns of unclosed brackets, that would help with fixing some
    long-standing issues with pairs of brackets.
    Let's see if this ever gets done.
    AndrewRadev committed Aug 20, 2016
Commits on Aug 13, 2016
Commits on Aug 3, 2016
  1. Block parameters are possible to be in next line.

    For example:
      [1,2,3].each do
    mattn committed Aug 3, 2016
Commits on Jul 1, 2016
  1. Exclude rubygems in finding the default load path (#301)

    Including RubyGems libraries in finding the Ruby's default
    load path is not necessary and it causes slow operation.
    * Use --disable-gems flag to make the operation fast
    azbshiri committed with tpope Jul 1, 2016
Commits on Jun 26, 2016
Commits on Jun 25, 2016
  1. Merge pull request #303 from dreyks/patch-1

    fix fdetect for .simplecov
    dkearns committed on GitHub Jun 25, 2016
  2. fix fdetect for .simplecov

    dreyks committed on GitHub Jun 25, 2016
Commits on Jun 16, 2016
Commits on May 30, 2016
  1. Try to fix block continuations

    It seems like there was a bug if the parent of the block-opener happened
    to be part of another continuation. Continuing to look for a
    continuation opener should fix the issue, but only time will tell what
    else will break.
    AndrewRadev committed May 30, 2016
  2. improve ruby{Conditional,Repeat}Modifier matching

    Fixes bogus matching of comments ending with '\' as a line continuation.
    Matches repeat modifiers as well.
    Fixes the horrendous performance of rubyConditionalExpression after #267
    which was often an order of magnitude worse than the next problem
    dkearns committed May 30, 2016
  3. Merge branch 'panthomakos-do-style'

    * panthomakos-do-style:
      Minor fix to CONTRIBUTORS
      Don't implement special do-block logic in s:GetMSL
      Add configurable block style indentation
    AndrewRadev committed May 30, 2016
  4. Minor fix to CONTRIBUTORS

    AndrewRadev committed May 30, 2016
Commits on May 29, 2016
  1. Add some more fold markers

    dkearns committed May 29, 2016
Commits on May 28, 2016
  1. Merge pull request #297 from jsimpson/ftdetect-opal

    detect opal as ruby
    dkearns committed May 28, 2016
  2. detect opal as ruby

    jsimpson committed May 28, 2016
Commits on May 27, 2016
  1. Fix whitespace -- :retab!

    dkearns committed May 27, 2016
  2. Add some fold markers

    dkearns committed May 27, 2016
  3. Simplify rubyKeywordAsMethod syntax group

    This catches a few extra "special methods" that were missed in PRs and
    is faster than the mass alternation.
    dkearns committed May 27, 2016
Commits on May 25, 2016
  1. Merge pull request #272 from bootleq/foldable

    Add ruby_foldable_groups option
    AndrewRadev committed May 25, 2016