aboutsummaryrefslogtreecommitdiffstats
path: root/test/indent/ruby.rb
diff options
context:
space:
mode:
authorDmitry Gutov2013-10-21 09:54:18 +0400
committerDmitry Gutov2013-10-21 09:54:18 +0400
commitcfef16c08413b62d33a380d41916be1003380b71 (patch)
treef90ed9063ad94b866f63df313f223d594fdbc31b /test/indent/ruby.rb
parent8c1ae48154e4c6935da3120362ea535f0dddfec5 (diff)
downloademacs-cfef16c08413b62d33a380d41916be1003380b71.tar.gz
emacs-cfef16c08413b62d33a380d41916be1003380b71.zip
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all
infix operators. (ruby-smie--implicit-semi-p): Add new operator chars.
Diffstat (limited to 'test/indent/ruby.rb')
-rw-r--r--test/indent/ruby.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb
index 56966ebb8c0..c898dbc5cf8 100644
--- a/test/indent/ruby.rb
+++ b/test/indent/ruby.rb
@@ -182,6 +182,10 @@ and_this_one(has) { |block, parameters|
182 tee 182 tee
183} 183}
184 184
185if foo +
186 bar
187end
188
185# Examples below still fail with `ruby-use-smie' on: 189# Examples below still fail with `ruby-use-smie' on:
186 190
187foo + 191foo +
@@ -194,10 +198,6 @@ end
194foo_bar_tee(1, 2, 3) 198foo_bar_tee(1, 2, 3)
195 .qux 199 .qux
196 200
197if foo &&
198 bar
199end
200
201method !arg1, 201method !arg1,
202 arg2 202 arg2
203 203