Skip to content

Better handling of multiline ternary indents. #329 #381

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

Closed
wants to merge 1 commit into from

Conversation

jslatts
Copy link

@jslatts jslatts commented Apr 19, 2016

As requested in #329, here is a PR with my change.

One thing I noticed when testing again, is that the indenting does not working correctly while typing out the multi-line ternary statement, but on re-identing the block, it does. However, this behavior is the same without my changes as well.

I read through the code again and I don't see any obvious reason why it would behave this way. If someone more familiar with the code can point me in the right direction, I'm happy to investigate further.

@amadeus
Copy link
Collaborator

amadeus commented Apr 19, 2016

I'm good with getting this in, anyone object?

@bounceme
Copy link
Collaborator

Sorry, my new request already fixes this

@amadeus
Copy link
Collaborator

amadeus commented Apr 19, 2016

So you're saying we should merge in #383 and not this one?

@bounceme
Copy link
Collaborator

Yea, it can be merged soon, i'll let you know when it's done.There are a few bugs still

@amadeus
Copy link
Collaborator

amadeus commented Apr 20, 2016

Closing due to #385

@amadeus amadeus closed this Apr 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants