Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curly brace indenting issue #54

Closed
tcuthbert opened this issue Oct 3, 2014 · 1 comment
Closed

Curly brace indenting issue #54

tcuthbert opened this issue Oct 3, 2014 · 1 comment

Comments

@tcuthbert
Copy link

Hey there seems to be an indentation issue when defining classes.

When I enter the following, the indenting is not right

class development_tools (
  $editor = "emacs"
) {
package { 'git':
  ensure => "installed",
}
}

indent according to mode produces this

class development_tools (
  $editor = "emacs"
  ) {
  package { 'git':
    ensure => "installed",
  }

  }

The issue appears when the closing parenthesis and opening curly brace are on the same line

@swsnr
Copy link
Contributor

swsnr commented Oct 3, 2014

@tcuthbert We'll port indentation to SMIE at some point, see #7, but we won't fix the current legacy code.

Please be patient.

@swsnr swsnr closed this as completed Oct 3, 2014
@swsnr swsnr assigned swsnr and unassigned swsnr Oct 3, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants