From 59fd9d5a007c90b6923982d4b93bc3823fd26fc6 Mon Sep 17 00:00:00 2001 From: Fatih Arslan Date: Wed, 4 Nov 2015 17:07:47 +0300 Subject: [PATCH] printer: indent must be two spaces, closes #2 --- printer/printer.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/printer/printer.go b/printer/printer.go index 613ad08..146521b 100644 --- a/printer/printer.go +++ b/printer/printer.go @@ -10,7 +10,9 @@ import ( "github.com/fatih/hcl/parser" ) -var DefaultConfig = Config{} +var DefaultConfig = Config{ + SpacesWidth: 2, +} // A Config node controls the output of Fprint. type Config struct {