Add version tags and mention the new options in NEWS
* etc/NEWS: Mention the new options (bug#60186). * lisp/progmodes/ruby-mode.el (ruby-block-indent) (ruby-after-operator-indent, ruby-method-call-indent) (ruby-parenless-call-arguments-indent): Add version tags.
This commit is contained in:
parent
8675f4136c
commit
724da28763
2 changed files with 13 additions and 5 deletions
6
etc/NEWS
6
etc/NEWS
|
@ -2832,7 +2832,11 @@ project-dedicated or global) is specified by the new
|
|||
*** Support for endless methods.
|
||||
|
||||
---
|
||||
*** New user option 'ruby-method-params-indent'.
|
||||
*** New user options that determine indentation logic.
|
||||
'ruby-method-params-indent', 'ruby-block-indent',
|
||||
'ruby-after-operator-indent', 'ruby-method-call-indent',
|
||||
'ruby-parenless-call-arguments-indent'. See the docstrings for
|
||||
explanations and examples.
|
||||
|
||||
** Eshell
|
||||
|
||||
|
|
|
@ -306,7 +306,8 @@ containing the block's opener:
|
|||
|
||||
Only has effect when `ruby-use-smie' is t."
|
||||
:type 'boolean
|
||||
:safe 'booleanp)
|
||||
:safe 'booleanp
|
||||
:version "29.1")
|
||||
|
||||
(defcustom ruby-after-operator-indent t
|
||||
"Non-nil to use structural indentation after binary operators.
|
||||
|
@ -326,7 +327,8 @@ Set it to nil to align to the beginning of the statement:
|
|||
|
||||
Only has effect when `ruby-use-smie' is t."
|
||||
:type 'boolean
|
||||
:safe 'booleanp)
|
||||
:safe 'booleanp
|
||||
:version "29.1")
|
||||
|
||||
(defcustom ruby-method-call-indent t
|
||||
"Non-nil to use the structural indentation algorithm.
|
||||
|
@ -348,7 +350,8 @@ Set it to nil to align to the beginning of the statement:
|
|||
|
||||
Only has effect when `ruby-use-smie' is t."
|
||||
:type 'boolean
|
||||
:safe 'booleanp)
|
||||
:safe 'booleanp
|
||||
:version "29.1")
|
||||
|
||||
(defcustom ruby-parenless-call-arguments-indent t
|
||||
"Non-nil to align arguments in a parenless call vertically.
|
||||
|
@ -369,7 +372,8 @@ Set it to nil to align to the beginning of the statement:
|
|||
|
||||
Only has effect when `ruby-use-smie' is t."
|
||||
:type 'boolean
|
||||
:safe 'booleanp)
|
||||
:safe 'booleanp
|
||||
:version "29.1")
|
||||
|
||||
(defcustom ruby-deep-arglist t
|
||||
"Deep indent lists in parenthesis when non-nil.
|
||||
|
|
Loading…
Add table
Reference in a new issue