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

nimpretty badly indents block comment #9500

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

nimpretty badly indents block comment #9500

timotheecour opened this issue Oct 25, 2018 · 0 comments

Comments

@timotheecour
Copy link
Member

@timotheecour 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
(cherry picked from commit 87d60b2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant