Adding tf to hcl format names

This commit is contained in:
Mike Farah
2025-12-16 14:17:38 +11:00
parent b0d2522f80
commit 626624af7b
4 changed files with 87 additions and 1 deletions
+1 -1
View File
@@ -67,7 +67,7 @@ var TomlFormat = &Format{"toml", []string{},
func() Decoder { return NewTomlDecoder() },
}
var HclFormat = &Format{"hcl", []string{"h"},
var HclFormat = &Format{"hcl", []string{"h", "tf"},
func() Encoder { return NewHclEncoder(ConfiguredHclPreferences) },
func() Decoder { return NewHclDecoder() },
}