summaryrefslogtreecommitdiff
path: root/test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb
diff options
context:
space:
mode:
authorDmitry Gutov <dgutov@yandex.ru>2023-01-18 03:21:32 +0200
committerDmitry Gutov <dgutov@yandex.ru>2023-01-18 03:27:37 +0200
commit343b9b3dfe370a7e65d499b499621f87e722ea71 (patch)
tree657687ecf5325b183b39e305a65d6bb2c4e4eb70 /test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb
parent045404d1aac1a9bd4ad2a3af8db577d7f05b9d03 (diff)
downloademacs-343b9b3dfe370a7e65d499b499621f87e722ea71.tar.gz
emacs-343b9b3dfe370a7e65d499b499621f87e722ea71.tar.bz2
emacs-343b9b3dfe370a7e65d499b499621f87e722ea71.zip
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.
Diffstat (limited to 'test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb')
-rw-r--r--test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb b/test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb
index be98465881f..9959de4fe71 100644
--- a/test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb
+++ b/test/lisp/progmodes/ruby-mode-resources/ruby-ts.rb
@@ -58,5 +58,6 @@ qux = foo.fee ?
# mode: ruby-ts
# ruby-after-operator-indent: t
# ruby-block-indent: t
+# ruby-method-call-indent: t
# ruby-method-params-indent: t
# End: