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

puppet indentation gets confused by 'if' #2136

Closed
tko opened this issue Jun 27, 2015 · 3 comments
Closed

puppet indentation gets confused by 'if' #2136

tko opened this issue Jun 27, 2015 · 3 comments

Comments

@tko
Copy link
Contributor

tko commented Jun 27, 2015

This is the indentation I'm getting with only puppet layer enabled.

if $foo {
  42
  } else {
  10
  }
@syl20bnr
Copy link
Owner

syl20bnr commented Jul 9, 2015

It may be a conflict with smartparens, you can try to disable it with SPC t p.

@tko
Copy link
Contributor Author

tko commented Jul 9, 2015

Makes no difference. I noticed puppet-mode is in progress of rewriting the indentation though voxpupuli/puppet-mode#7 isn't terribly active.

@StreakyCobra
Copy link
Contributor

Either this is an upstream bug that has already been reported and we can't do anything about it, or it's a general problem about indentation which is discussed in a more general way in #3203. I'm closing this issue then, but feel free to open a new one in case of troubles ☺️

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

3 participants