diff options
| author | Stefan Monnier | 2013-10-23 13:55:53 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2013-10-23 13:55:53 -0400 |
| commit | 03d44565bbbea492e5280e153150a768ca7f2c45 (patch) | |
| tree | eae21c21a24fa288cbc0cfa1c5d3dafb31ca6c3c /test/indent/ruby.rb | |
| parent | 76f1a3c3143b61dd58c02a3bd2eb533802646679 (diff) | |
| download | emacs-03d44565bbbea492e5280e153150a768ca7f2c45.tar.gz emacs-03d44565bbbea492e5280e153150a768ca7f2c45.zip | |
* lisp/progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
{ if it is hanging.
Diffstat (limited to 'test/indent/ruby.rb')
| -rw-r--r-- | test/indent/ruby.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 7ce60f5f58b..7601738dc76 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb | |||
| @@ -40,6 +40,10 @@ foo = { # ruby-deep-indent-disabled | |||
| 40 | a: b | 40 | a: b |
| 41 | } | 41 | } |
| 42 | 42 | ||
| 43 | foo = { a: b | ||
| 44 | a1: b1 | ||
| 45 | } | ||
| 46 | |||
| 43 | foo({ | 47 | foo({ |
| 44 | a: b, | 48 | a: b, |
| 45 | c: d | 49 | c: d |