]> git.eshelyaron.com Git - emacs.git/commit
ruby-ts-mode: Fix indentation inside empty if/unless/case/def
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 9 Feb 2023 02:15:41 +0000 (04:15 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 9 Feb 2023 02:16:15 +0000 (04:16 +0200)
commita5651c0c403bb6513e235056d787611059f6d568
tree23928b240cf0d16dc9bdd28d576cf9f353c2f543
parent0ec0a610ed226419269f519021cbe8fb2dde2ed5
ruby-ts-mode: Fix indentation inside empty if/unless/case/def

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Add new rule.

* test/lisp/progmodes/ruby-ts-mode-tests.el
(ruby-ts-indent-empty-if-else): New test.
lisp/progmodes/ruby-ts-mode.el
test/lisp/progmodes/ruby-ts-mode-tests.el