lib/textbringer/modes/ruby_mode.rb in textbringer-1.1.0 vs lib/textbringer/modes/ruby_mode.rb in textbringer-1.1.1

- old
+ new

@@ -274,10 +274,11 @@ if start_with_period || (last_event == :on_op && last_text != "|") || (last_event == :on_kw && /\A(and|or)\z/.match?(last_text)) || last_event == :on_period || (last_event == :on_comma && event != :on_lbrace && - event != :on_lparen && event != :on_lbracket) + event != :on_lparen && event != :on_lbracket) || + last_event == :on_label indentation += @buffer[:indent_level] end indentation end end