voxpupuli / puppet-mode

Edit Puppet manifests with GNU Emacs 24
https://github.com/voxpupuli/puppet-mode
GNU General Public License v3.0
90 stars 60 forks source link

Indent wrong for closing paren of class args #90

Closed darkfeline closed 7 years ago

darkfeline commented 7 years ago

Example for current behavior:

class foo (
  String $foo,
  ) {
  }

Expected:

class foo (
  String $foo,
) {
}

(Actually, the current indent function toggles between the two above indentation styles. For a language like Python such behavior might be reasonable, but not for Puppet in this case.)