Variable: ruby-after-operator-indent
ruby-after-operator-indent is a customizable variable defined in
ruby-mode.el.gz.
Value
t
Documentation
Non-nil to use structural indentation after binary operators.
The code will be aligned to the implicit parent expression, according to the operator precedence:
qux = 4 + 5 *
6 +
7
Set it to nil to align to the beginning of the statement:
qux = 4 + 5 *
6 +
7
Only has effect when ruby-use-smie is t.
This variable was added, or its default value changed, in Emacs 29.1.
Probably introduced at or before Emacs version 29.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ruby-mode.el.gz
(defcustom ruby-after-operator-indent t
"Non-nil to use structural indentation after binary operators.
The code will be aligned to the implicit parent expression,
according to the operator precedence:
qux = 4 + 5 *
6 +
7
Set it to nil to align to the beginning of the statement:
qux = 4 + 5 *
6 +
7
Only has effect when `ruby-use-smie' is t."
:type 'boolean
:safe 'booleanp
:version "29.1")