]> git.eshelyaron.com Git - emacs.git/commit
(ruby-ts--indent-rules): Indent inside empty parens properly
authorDmitry Gutov <dgutov@yandex.ru>
Thu, 19 Jan 2023 15:31:43 +0000 (17:31 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Thu, 19 Jan 2023 17:44:10 +0000 (19:44 +0200)
commit0d3b6518e39a28774e4e70ed9bb7ef4aa009c0cf
tree632a1de9e0d3c0b30d3e93c6c3db9980ffcae672
parent7fb69ce233b8a655af63d4c47b7359c43660acf6
(ruby-ts--indent-rules): Indent inside empty parens properly

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--indent-rules):
Consider the case when there are no arguments inside the call yet.

* test/lisp/progmodes/ruby-ts-mode-tests.el
(ruby-ts-indent-call-no-args): Add test.
lisp/progmodes/ruby-ts-mode.el
test/lisp/progmodes/ruby-ts-mode-tests.el