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

Indentation incorrect for if statements without braces #34

Closed
timmc opened this issue Nov 21, 2018 · 1 comment
Closed

Indentation incorrect for if statements without braces #34

timmc opened this issue Nov 21, 2018 · 1 comment

Comments

@timmc
Copy link

timmc commented Nov 21, 2018

In the following code, the second line should be indented:

if (true)
    println("true")

However, kotlin-mode indents it like so:

if (true)
println("true")
@ted-tanner
Copy link
Contributor

This was fixed by commit f8b7b36 and can be closed.

@gregghz gregghz closed this as completed May 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants