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

Are if, do, and with-open indenting correctly? #5

Open
m455 opened this issue Dec 5, 2020 · 0 comments
Open

Are if, do, and with-open indenting correctly? #5

m455 opened this issue Dec 5, 2020 · 0 comments

Comments

@m455
Copy link

m455 commented Dec 5, 2020

Should we review how if, do, and with-open are indented?

Currently, they indent like this, if using two-space indentation:

(do (print "test")
  (print "test2")
  (print "test3"))

(with-open [file-out (io.open "test.txt" :w)]
           (file-out:write data))

(if (some-function :test)
  (another-function :test2)
  (yet-another-function :test3))

If this is the intended behaviour, please ignore or close this! <3

@m455 m455 changed the title Should we review how if, do, and with-open are indented? Are if, do, and with-open indenting correctly? Dec 9, 2020
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

1 participant