diff options
-rw-r--r-- | lisp/progmodes/ruby-ts-mode.el | 1 | ||||
-rw-r--r-- | test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/lisp/progmodes/ruby-ts-mode.el b/lisp/progmodes/ruby-ts-mode.el index 3a6d513c330..5df7e397f03 100644 --- a/lisp/progmodes/ruby-ts-mode.el +++ b/lisp/progmodes/ruby-ts-mode.el @@ -152,7 +152,6 @@ "then" "ensure" "body_statement" - "parenthesized_statements" "interpolation") string-end) "Regular expression of the nodes that can contain statements.") diff --git a/test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb b/test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb index 9959de4fe71..1f7caf64c34 100644 --- a/test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb +++ b/test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb @@ -54,6 +54,14 @@ qux = foo.fee ? bar : tee +with_paren = (a + b * + c * d + + 12) + +without_paren = a + b * + c * d + + 12 + # Local Variables: # mode: ruby-ts # ruby-after-operator-indent: t |