diff options
author | aycabta <aycabta@gmail.com> | 2019-06-28 22:25:35 +0900 |
---|---|---|
committer | aycabta <aycabta@gmail.com> | 2019-06-28 22:25:35 +0900 |
commit | c718f56ed9e07f66b6d476d16c2eea81e15c37d2 (patch) | |
tree | b1c0f14abafd3c0fc411449753139d26434fc501 /lib | |
parent | 8ec877d18361054d943fdf57f89b68f4e201d2c4 (diff) |
Remove auto indent of continuation line
Diffstat (limited to 'lib')
-rw-r--r-- | lib/irb/ruby-lex.rb | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/irb/ruby-lex.rb b/lib/irb/ruby-lex.rb index 234a038d67..ac26f28c3a 100644 --- a/lib/irb/ruby-lex.rb +++ b/lib/irb/ruby-lex.rb @@ -308,9 +308,6 @@ class RubyLex def check_newline_depth_difference depth_difference = 0 - if @tokens.size >= 2 and @tokens.last[2].end_with?("\n") and @tokens[-2][3].nobits?(Ripper::EXPR_END | Ripper::EXPR_ENDFN | Ripper::EXPR_CMDARG | Ripper::EXPR_LABEL) - return 1 - end @tokens.each_with_index do |t, index| case t[1] when :on_ignored_nl, :on_nl |