aboutsummaryrefslogtreecommitdiffstats
path: root/test/indent/ruby.rb
diff options
context:
space:
mode:
authorDmitry Gutov2016-03-06 23:18:06 +0200
committerDmitry Gutov2016-03-07 05:07:33 +0200
commit066f3bc3f3d024b2e10ee11e09ae6aaa1003bbda (patch)
treef4f3920ef6fedabd006a5c71f819d68c554c3e2d /test/indent/ruby.rb
parent6f7a57c7081ad3f8b5942a827843f8ad14e20e93 (diff)
downloademacs-066f3bc3f3d024b2e10ee11e09ae6aaa1003bbda.tar.gz
emacs-066f3bc3f3d024b2e10ee11e09ae6aaa1003bbda.zip
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.
Diffstat (limited to 'test/indent/ruby.rb')
-rw-r--r--test/indent/ruby.rb3
1 files changed, 3 insertions, 0 deletions
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 = {
223foo if 223foo if
224 bar 224 bar
225 225
226fail "stuff" \
227 unless all_fine?
228
226if foo? 229if foo?
227 bar 230 bar
228end 231end