There is cperl-mode
and the setting I see in source:
(defcustom cperl-indent-parens-as-block nil
"*Non-nil means that non-block ()-, {}- and []-groups are indented as blocks,
but for trailing \",\" inside the group, which won't increase indentation.
One should tune up `cperl-close-paren-offset' as well."
:type 'boolean
:group 'cperl-indentation-details)
I was trying to use (custom-set-variable '(cperl-indent-parens-as-block t))
but that doesn't work so how can I change this to t
as global setting?
The function is called ...-variables
:
(custom-set-variables '(cperl-indent-parens-as-block t))
or you can just use setq
, since the variable doesn't have a setter defined:
(setq cperl-indent-parens-as-block t)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With