How to set cperl-mode to indent parens as block #14

Open
mpkh opened this Issue Mar 9, 2013 · 0 comments

1 participant

@mpkh

Hello I want to write code blocks alike following:

xxx {
  yyy
  }

I saw this

(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)

And was trying to add this:

(setq cperl-indent-parens-as-block t)

Cynede/emacs.d@a93298c

I expected it will indent closing block bracket but it doesn't. And I can't detect any other changes.

When I set

(defcustom cperl-indent-parens-as-block t
    ...

in code it doesn't indent closing block bracket too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment