]> git.eshelyaron.com Git - emacs.git/commit
Support the new option in ruby-ts-mode too
authorDmitry Gutov <dmitry@gutov.dev>
Mon, 2 Sep 2024 18:02:21 +0000 (21:02 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 8 Sep 2024 11:21:55 +0000 (13:21 +0200)
commit59b3162733ea827d48d6eb1f37305aab1d2421f0
tree6d5c56fe0522ab250855ff13a6bac43ed36c28a1
parent9622c610da91517b9a8f20c936bbe0661c642264
Support the new option in ruby-ts-mode too

* etc/NEWS: Describe it here.

* lisp/progmodes/ruby-ts-mode.el (ruby-ts--parent-call-or-bol):
Support the option ruby-bracketed-args-indent here too (bug#60321).

* test/lisp/progmodes/ruby-ts-mode-tests.el: Include
ruby-bracketed-args-indent.rb as test examples.

* test/lisp/progmodes/ruby-mode-resources/ruby-bracketed-args-indent.rb:
Extend examples for better regression testing.

(cherry picked from commit 24f12bdd77ee3dd1f2254bdc6cb5cbf7be488c36)
lisp/progmodes/ruby-ts-mode.el
test/lisp/progmodes/ruby-mode-resources/ruby-bracketed-args-indent.rb
test/lisp/progmodes/ruby-ts-mode-tests.el