aboutsummaryrefslogtreecommitdiffstats
path: root/test/indent/ruby.rb
diff options
context:
space:
mode:
authorStefan Monnier2013-10-23 13:55:53 -0400
committerStefan Monnier2013-10-23 13:55:53 -0400
commit03d44565bbbea492e5280e153150a768ca7f2c45 (patch)
treeeae21c21a24fa288cbc0cfa1c5d3dafb31ca6c3c /test/indent/ruby.rb
parent76f1a3c3143b61dd58c02a3bd2eb533802646679 (diff)
downloademacs-03d44565bbbea492e5280e153150a768ca7f2c45.tar.gz
emacs-03d44565bbbea492e5280e153150a768ca7f2c45.zip
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
{ if it is hanging.
Diffstat (limited to 'test/indent/ruby.rb')
-rw-r--r--test/indent/ruby.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index 7ce60f5f58b..7601738dc76 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -40,6 +40,10 @@ foo = { # ruby-deep-indent-disabled
40 a: b 40 a: b
41} 41}
42 42
43foo = { a: b
44 a1: b1
45 }
46
43foo({ 47foo({
44 a: b, 48 a: b,
45 c: d 49 c: d