aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDmitry Gutov2022-12-19 21:01:27 +0200
committerDmitry Gutov2022-12-19 21:06:07 +0200
commit2b1fdbffcb595bcd72fa9aa3db674c6985042bcb (patch)
treed096889d882ed2d06cf548bbadb4bdea294440f4 /etc
parentb9e813f79f2d7afb5f14caad17a865e66af17f15 (diff)
downloademacs-2b1fdbffcb595bcd72fa9aa3db674c6985042bcb.tar.gz
emacs-2b1fdbffcb595bcd72fa9aa3db674c6985042bcb.zip
ruby-method-params-indent: New user option
* lisp/progmodes/ruby-mode.el (ruby-method-params-indent): New option (bug#60110). (ruby-smie-rules): Use it. * etc/NEWS: Mention it. * test/lisp/progmodes/ruby-mode-resources/ruby.rb: Ensure the var's value is default. * test/lisp/progmodes/ruby-mode-resources/ruby-method-params-indent.rb: New file. * test/lisp/progmodes/ruby-mode-tests.el (ruby-deftest-indent): New macro, use it to run the indentation test using the new file. Disable the :expensive-test tag, because neither runs for "longer than some few seconds", both take significantly below 1s.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 017fd850b4e..0e844596347 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2761,6 +2761,9 @@ project-dedicated or global) is specified by the new
2761--- 2761---
2762*** Support for endless methods. 2762*** Support for endless methods.
2763 2763
2764---
2765*** New user option 'ruby-method-params-indent'.
2766
2764** Eshell 2767** Eshell
2765 2768
2766+++ 2769+++