diff options
author | aycabta <[email protected]> | 2019-06-19 09:19:41 +0900 |
---|---|---|
committer | aycabta <[email protected]> | 2019-06-19 09:19:41 +0900 |
commit | d009e321a08d2ca401fceefa638e7e50872f5f54 (patch) | |
tree | e5184b43b181b104d04166a7cbe371d74493cba6 /lib/irb.rb | |
parent | c9729329862a979f2d07d7907c7a515dfcfb2ba4 (diff) |
Use IRB.conf[:AUTO_INDENT] setting in multiline mode
Diffstat (limited to 'lib/irb.rb')
-rw-r--r-- | lib/irb.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/irb.rb b/lib/irb.rb index 2c7b17da6b..5ba0679501 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -491,6 +491,8 @@ module IRB end end + @scanner.set_auto_indent(@context) if @context.auto_indent_mode + @scanner.each_top_level_statement do |line, line_no| signal_status(:IN_EVAL) do begin |