Variable: ruby-bracketed-args-indent
ruby-bracketed-args-indent is a customizable variable defined in
ruby-mode.el.gz.
Value
t
Documentation
Non-nil to align the contents of bracketed arguments with the brackets.
Example:
qux({
foo => bar
})
Set it to nil to align to the beginning of the statement:
qux({
foo => bar
})
Only has effect when ruby-use-smie is t.
This variable was added, or its default value changed, in Emacs 30.1.
Probably introduced at or before Emacs version 30.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ruby-mode.el.gz
(defcustom ruby-bracketed-args-indent t
"Non-nil to align the contents of bracketed arguments with the brackets.
Example:
qux({
foo => bar
})
Set it to nil to align to the beginning of the statement:
qux({
foo => bar
})
Only has effect when `ruby-use-smie' is t."
:type 'boolean
:safe 'booleanp
:version "30.1")