about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config/style.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/config/style.go b/config/style.go
index f159be3..9a8a00f 100644
--- a/config/style.go
+++ b/config/style.go
@@ -352,7 +352,10 @@ func (ss *StyleSet) LoadStyleSet(stylesetName string, stylesetDirs []string) err
 		return err
 	}
 
-	file, err := ini.Load(filepath)
+	var options ini.LoadOptions
+	options.SpaceBeforeInlineComment = true
+
+	file, err := ini.LoadSources(options, filepath)
 	if err != nil {
 		return err
 	}