From 066f3bc3f3d024b2e10ee11e09ae6aaa1003bbda Mon Sep 17 00:00:00 2001 From: Dmitry Gutov Date: Sun, 6 Mar 2016 23:18:06 +0200 Subject: Recognize iuwu-mod after an escaped newline * lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Check if the newline is escaped. (ruby-smie-rules): Indent iuwu-mod after an escaped newline correctly. --- test/indent/ruby.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test') diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index dfd1c75a679..49478602e41 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb @@ -223,6 +223,9 @@ z = { foo if bar +fail "stuff" \ + unless all_fine? + if foo? bar end -- cgit v1.2.1