diff options
author | Dmitry Gutov <dgutov@yandex.ru> | 2013-11-09 01:59:56 +0200 |
---|---|---|
committer | Dmitry Gutov <dgutov@yandex.ru> | 2013-11-09 01:59:56 +0200 |
commit | 1629a329975b1c1e49249dd1462ce56a8840b0be (patch) | |
tree | 6d1270eafa675267348ab78a652ca5f70f518311 /test | |
parent | ad16897ceb05aefe3e6d63a6c9c5366ad0d75961 (diff) | |
download | emacs-1629a329975b1c1e49249dd1462ce56a8840b0be.tar.gz |
* lisp/progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
Not after "||".
(ruby-smie-rules): Indent non-hanging "begin" blocks as part of
their parent.
Diffstat (limited to 'test')
-rw-r--r-- | test/indent/ruby.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 0c432b7ca20..1d2eb08db94 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb @@ -285,9 +285,14 @@ bar 1 do end end -# Failing with SMIE: - foo || begin bar end + +def qux + foo ||= begin + bar + tee + end +end |