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

nimpretty badly indents block comment #9500

Closed
timotheecour opened this Issue Oct 25, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@timotheecour
Copy link
Collaborator

timotheecour commented Oct 25, 2018

/cc @Araq

proc fun() =
  #[
  foobar
  ]#
  discard

proc fun2() =
  ##[
  foobar
  ]##
  discard

#[
foobar
]#

proc fun3() =
  discard

##[
foobar
]##

becomes:

proc fun() =
#[
  foobar
  ]#
  discard

proc fun2() =
  ##[
  foobar
  ]##
  discard

  #[
foobar
]#

proc fun3() =
  discard

##[
foobar
]##

@timotheecour timotheecour changed the title nimpretty unindents block comment nimpretty badly indents block comment Oct 25, 2018

@Araq Araq closed this in 87d60b2 Oct 25, 2018

narimiran added a commit to narimiran/Nim that referenced this issue Oct 31, 2018

narimiran added a commit to narimiran/Nim that referenced this issue Nov 1, 2018

narimiran added a commit that referenced this issue Nov 1, 2018

narimiran added a commit that referenced this issue Nov 1, 2018

nimpretty: fixes #9500
(cherry picked from commit 87d60b2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment