summaryrefslogtreecommitdiff
path: root/hclwrite/format.go
diff options
context:
space:
mode:
Diffstat (limited to 'hclwrite/format.go')
-rw-r--r--hclwrite/format.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/hclwrite/format.go b/hclwrite/format.go
index ad17121..ef50e09 100644
--- a/hclwrite/format.go
+++ b/hclwrite/format.go
@@ -316,10 +316,6 @@ func spaceAfterToken(subject, before, after *Token) bool {
}
return true
- case after.Type == hclsyntax.TokenColon:
- // Never spaces before colons
- return false
-
// In the unlikely event that an interpolation expression is just
// a single object constructor, we'll put a space between the ${ and
// the following { to make this more obvious, and then the same