]> git.eshelyaron.com Git - emacs.git/commit
ruby-ts-mode: Fix indent inside parenthesized_expr and else/end after unless
authorDmitry Gutov <dgutov@yandex.ru>
Tue, 17 Jan 2023 22:41:14 +0000 (00:41 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 18 Jan 2023 01:27:37 +0000 (03:27 +0200)
commit5e2e68a0c2d7d4e06747ea9fc6112dae8d5e32b6
tree22e5aa4826f7591144d7486b6375d086f92f0e0b
parent9ed9ff4690a8b26ac9729a66aa22f2e14856cd0c
ruby-ts-mode: Fix indent inside parenthesized_expr and else/end after unless

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Fix indentation for parenthesized_expression and else/end after
'unless'.

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
New examples.
lisp/progmodes/ruby-ts-mode.el
test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb