aboutsummaryrefslogtreecommitdiffstats
path: root/test/indent/ruby.rb
diff options
context:
space:
mode:
authorStefan Monnier2013-10-21 09:34:13 -0400
committerStefan Monnier2013-10-21 09:34:13 -0400
commitdf74c4be16efb83408b78c5b1205fccfb2c10696 (patch)
treee440d2a7dac62236a578fdeee4a9a0d6ff138052 /test/indent/ruby.rb
parentc7e36328c69e8363928390fa8ee909d7a1cfd5b0 (diff)
downloademacs-df74c4be16efb83408b78c5b1205fccfb2c10696.tar.gz
emacs-df74c4be16efb83408b78c5b1205fccfb2c10696.zip
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
an instruction.
Diffstat (limited to 'test/indent/ruby.rb')
-rw-r--r--test/indent/ruby.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index 198ad6384f0..c9ec8bd3723 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -186,11 +186,11 @@ if foo &&
186 bar 186 bar
187end 187end
188 188
189# Examples below still fail with `ruby-use-smie' on:
190
191foo + 189foo +
192 bar 190 bar
193 191
192# Examples below still fail with `ruby-use-smie' on:
193
194foo = [1, 2, 3].map do |i| 194foo = [1, 2, 3].map do |i|
195 i + 1 195 i + 1
196end 196end