]> git.eshelyaron.com Git - emacs.git/commit
ruby-ts-mode: Obey the option ruby-method-call-indent
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 18 Jan 2023 01:21:32 +0000 (03:21 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 18 Jan 2023 01:27:37 +0000 (03:27 +0200)
commit343b9b3dfe370a7e65d499b499621f87e722ea71
tree657687ecf5325b183b39e305a65d6bb2c4e4eb70
parent045404d1aac1a9bd4ad2a3af8db577d7f05b9d03
ruby-ts-mode: Obey the option ruby-method-call-indent

* lisp/progmodes/ruby-ts-mode.el
(ruby-ts--method-call-indent-p): New function.
(ruby-ts--indent-rules): Use it.

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

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
Add explicit value for ruby-method-call-indent.
lisp/progmodes/ruby-ts-mode.el
test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb
test/lisp/progmodes/ruby-ts-mode-tests.el