]> git.eshelyaron.com Git - emacs.git/commit
ruby-ts-mode: Support the option ruby-block-indent
authorDmitry Gutov <dgutov@yandex.ru>
Mon, 16 Jan 2023 03:17:05 +0000 (05:17 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Mon, 16 Jan 2023 03:50:28 +0000 (05:50 +0200)
commit352e41016bcaab8566347091b6b61908a9b57b57
tree7185bbd54568e42129569b15611d1cbc555f04ea
parent44c9cb8653d19843b5e9f131b139aad7c1c4774b
ruby-ts-mode: Support the option ruby-block-indent

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--block-indent-anchor):
New function.
(ruby-ts--indent-rules): Use it.

* test/lisp/progmodes/ruby-ts-mode-tests.el:
Run indent test for ruby-block-indent.rb.
lisp/progmodes/ruby-ts-mode.el
test/lisp/progmodes/ruby-ts-mode-tests.el