]> git.eshelyaron.com Git - emacs.git/commit
ruby-ts-mode: Obey the option ruby-after-operator-indent
authorDmitry Gutov <dgutov@yandex.ru>
Wed, 18 Jan 2023 00:55:09 +0000 (02:55 +0200)
committerDmitry Gutov <dgutov@yandex.ru>
Wed, 18 Jan 2023 01:27:37 +0000 (03:27 +0200)
commit045404d1aac1a9bd4ad2a3af8db577d7f05b9d03
tree14df7bf67587c1118c3b465da0232b645ea03118
parent300ca6ac37250711b7d6484e0a870bf37e9e00cb
ruby-ts-mode: Obey the option ruby-after-operator-indent

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

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

* test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb:
Make sure indentation vars are at their default values.
lisp/progmodes/ruby-ts-mode.el
test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb
test/lisp/progmodes/ruby-ts-mode-tests.el