diff options
| author | Dmitry Gutov | 2013-10-21 09:54:18 +0400 |
|---|---|---|
| committer | Dmitry Gutov | 2013-10-21 09:54:18 +0400 |
| commit | cfef16c08413b62d33a380d41916be1003380b71 (patch) | |
| tree | f90ed9063ad94b866f63df313f223d594fdbc31b /test/indent/ruby.rb | |
| parent | 8c1ae48154e4c6935da3120362ea535f0dddfec5 (diff) | |
| download | emacs-cfef16c08413b62d33a380d41916be1003380b71.tar.gz emacs-cfef16c08413b62d33a380d41916be1003380b71.zip | |
* lisp/progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all
infix operators.
(ruby-smie--implicit-semi-p): Add new operator chars.
Diffstat (limited to 'test/indent/ruby.rb')
| -rw-r--r-- | test/indent/ruby.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/indent/ruby.rb b/test/indent/ruby.rb index 56966ebb8c0..c898dbc5cf8 100644 --- a/test/indent/ruby.rb +++ b/test/indent/ruby.rb | |||
| @@ -182,6 +182,10 @@ and_this_one(has) { |block, parameters| | |||
| 182 | tee | 182 | tee |
| 183 | } | 183 | } |
| 184 | 184 | ||
| 185 | if foo + | ||
| 186 | bar | ||
| 187 | end | ||
| 188 | |||
| 185 | # Examples below still fail with `ruby-use-smie' on: | 189 | # Examples below still fail with `ruby-use-smie' on: |
| 186 | 190 | ||
| 187 | foo + | 191 | foo + |
| @@ -194,10 +198,6 @@ end | |||
| 194 | foo_bar_tee(1, 2, 3) | 198 | foo_bar_tee(1, 2, 3) |
| 195 | .qux | 199 | .qux |
| 196 | 200 | ||
| 197 | if foo && | ||
| 198 | bar | ||
| 199 | end | ||
| 200 | |||
| 201 | method !arg1, | 201 | method !arg1, |
| 202 | arg2 | 202 | arg2 |
| 203 | 203 | ||