diff options
| author | Stefan Monnier | 2013-10-21 09:34:13 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-10-21 09:34:13 -0400 |
| commit | df74c4be16efb83408b78c5b1205fccfb2c10696 (patch) | |
| tree | e440d2a7dac62236a578fdeee4a9a0d6ff138052 /test/indent/ruby.rb | |
| parent | c7e36328c69e8363928390fa8ee909d7a1cfd5b0 (diff) | |
| download | emacs-df74c4be16efb83408b78c5b1205fccfb2c10696.tar.gz emacs-df74c4be16efb83408b78c5b1205fccfb2c10696.zip | |
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
an instruction.
Diffstat (limited to 'test/indent/ruby.rb')
| -rw-r--r-- | test/indent/ruby.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 198ad6384f0..c9ec8bd3723 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb | |||
| @@ -186,11 +186,11 @@ if foo && | |||
| 186 | bar | 186 | bar |
| 187 | end | 187 | end |
| 188 | 188 | ||
| 189 | # Examples below still fail with `ruby-use-smie' on: | ||
| 190 | |||
| 191 | foo + | 189 | foo + |
| 192 | bar | 190 | bar |
| 193 | 191 | ||
| 192 | # Examples below still fail with `ruby-use-smie' on: | ||
| 193 | |||
| 194 | foo = [1, 2, 3].map do |i| | 194 | foo = [1, 2, 3].map do |i| |
| 195 | i + 1 | 195 | i + 1 |
| 196 | end | 196 | end |