summaryrefslogtreecommitdiff
path: root/test/lisp
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2023-01-16 05:17:05 +0200
committerDmitry Gutov <dgutov@yandex.ru>2023-01-16 05:50:28 +0200
commit352e41016bcaab8566347091b6b61908a9b57b57 (patch)
tree7185bbd54568e42129569b15611d1cbc555f04ea /test/lisp
parent44c9cb8653d19843b5e9f131b139aad7c1c4774b (diff)
downloademacs-352e41016bcaab8566347091b6b61908a9b57b57.tar.gz
emacs-352e41016bcaab8566347091b6b61908a9b57b57.tar.bz2
emacs-352e41016bcaab8566347091b6b61908a9b57b57.zip
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.
Diffstat (limited to 'test/lisp')
-rw-r--r--test/lisp/progmodes/ruby-ts-mode-tests.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/progmodes/ruby-ts-mode-tests.el b/test/lisp/progmodes/ruby-ts-mode-tests.el
index b2c990f8e56..eaf6367a306 100644
--- a/test/lisp/progmodes/ruby-ts-mode-tests.el
+++ b/test/lisp/progmodes/ruby-ts-mode-tests.el
@@ -251,6 +251,7 @@ The whitespace before and including \"|\" on each line is removed."
(kill-buffer buf)))))
(ruby-ts-deftest-indent "ruby-method-params-indent.rb")
+(ruby-ts-deftest-indent "ruby-block-indent.rb")
(provide 'ruby-ts-mode-tests)