HCoop
/
bpt
/
emacs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* lisp/progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
[bpt/emacs.git]
/
test
/
indent
/
ruby.rb
diff --git
a/test/indent/ruby.rb
b/test/indent/ruby.rb
index
b4173b6
..
633b299
100644
(file)
--- a/
test/indent/ruby.rb
+++ b/
test/indent/ruby.rb
@@
-220,6
+220,11
@@
def bar
.baz
end
+# http://stackoverflow.com/questions/17786563/emacs-ruby-mode-if-expressions-indentation
+tee = if foo
+ bar
+ end
+
# Examples below still fail with `ruby-use-smie' on:
foo = [1, 2, 3].map do |i|