aboutsummaryrefslogtreecommitdiffstats
path: root/test/indent/ruby.rb
diff options
context:
space:
mode:
authorDmitry Gutov2013-10-08 02:01:23 +0300
committerDmitry Gutov2013-10-08 02:01:23 +0300
commit0ea1599d34414dbdc77c46208535c2ebdb614885 (patch)
tree6e7625116d5ebdca693e9191d709f53ca0408db3 /test/indent/ruby.rb
parent595e113b15e2ce80b95d39d1851ce78f25ffa1f4 (diff)
downloademacs-0ea1599d34414dbdc77c46208535c2ebdb614885.tar.gz
emacs-0ea1599d34414dbdc77c46208535c2ebdb614885.zip
* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
case of the dot in a chained method call being on the following line.
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 366d572449f..2b2b95bf47b 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -137,8 +137,6 @@ desc "foo foo" \
137foo. 137foo.
138 bar 138 bar
139 139
140# Examples below still fail with `ruby-use-smie' on:
141
142# https://github.com/rails/rails/blob/17f5d8e062909f1fcae25351834d8e89967b645e/activesupport/lib/active_support/time_with_zone.rb#L206 140# https://github.com/rails/rails/blob/17f5d8e062909f1fcae25351834d8e89967b645e/activesupport/lib/active_support/time_with_zone.rb#L206
143foo 141foo
144 .bar 142 .bar
@@ -150,6 +148,8 @@ z = {
150 } 148 }
151} 149}
152 150
151# Examples below still fail with `ruby-use-smie' on:
152
153foo + 153foo +
154 bar 154 bar
155 155