Indenter overly detecting block comments inside of a heredoc
eimirae opened this issue · comments
eimirae commented
The following terraform code:
locals {
test = <<EOP
"This is a test /*"
"This line shouldn't be indented"
EOP
}
Will result in:
locals {
test = <<EOP
"This is a test /*"
"This line shouldn't be indented"
EOP
}
I believe the indenter should ignore comments inside of heredocs
David Hotham commented
I expect I'd accept a merge request, I don't expect to work on this myself
(it's an edge condition that I've never encountered and don't ever expect to encounter)