diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2013-11-07 03:58:12 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2013-11-07 03:58:12 +0200 |
commit | b420ccfc4cbe081b53881a7c9f0dd6b778b99b99 (patch) | |
tree | c9aa0d449ad8538ef65d9c8aae799f1a9daa3f6a /test/indent | |
parent | e2e894cf5c87c3880fe5725ac3ef7e6ab529eaf1 (diff) | |
download | emacs-b420ccfc4cbe081b53881a7c9f0dd6b778b99b99.tar.gz |
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
"." compared to "do".
Diffstat (limited to 'test/indent')
-rw-r--r-- | test/indent/ruby.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 5e3db5afb71..3d881edcba9 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb @@ -238,12 +238,10 @@ foo :bar do qux end -# Examples below still fail with `ruby-use-smie' on: - foo = [1, 2, 3].map do |i| i + 1 end -bar.foo do # "." is parent to "do"; it shouldn't be. +bar.foo do bar end |