Skip to content

Commit

Permalink
Don't match "line", match "lnum"
Browse files Browse the repository at this point in the history
How did this ever work?
  • Loading branch information
AndrewRadev committed Oct 3, 2013
1 parent f3b1fc6 commit b76efd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion indent/ruby.vim
Expand Up @@ -175,7 +175,7 @@ function s:GetMSL(lnum)
" something
"
return msl
elseif s:Match(line, s:non_bracket_continuation_regex) &&
elseif s:Match(lnum, s:non_bracket_continuation_regex) &&
\ s:Match(msl, s:non_bracket_continuation_regex)
" If the current line is a non-bracket continuation and so is the
" previous one, keep its indent and continue looking for an MSL.
Expand Down

0 comments on commit b76efd1

Please sign in to comment.