This commit is contained in:
Mike Farah 2025-12-20 09:55:29 +11:00
parent 161be10791
commit b974d973ee
4 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ HCL is commonly used in HashiCorp tools like Terraform for configuration files.
- String interpolation and expressions (preserved without quotes) - String interpolation and expressions (preserved without quotes)
- Comments (leading, head, and line comments) - Comments (leading, head, and line comments)
- Nested structures (maps and lists) - Nested structures (maps and lists)
- Syntax colorization when enabled - Syntax colorisation when enabled
## Parse HCL ## Parse HCL

View File

@ -7,5 +7,5 @@ HCL is commonly used in HashiCorp tools like Terraform for configuration files.
- String interpolation and expressions (preserved without quotes) - String interpolation and expressions (preserved without quotes)
- Comments (leading, head, and line comments) - Comments (leading, head, and line comments)
- Nested structures (maps and lists) - Nested structures (maps and lists)
- Syntax colorization when enabled - Syntax colorisation when enabled

View File

@ -45,7 +45,6 @@ func (te *tomlEncoder) Encode(writer io.Writer, node *CandidateNode) error {
return err return err
} }
// Apply colorization if enabled
if te.prefs.ColorsEnabled { if te.prefs.ColorsEnabled {
colorized := te.colorizeToml(buf.Bytes()) colorized := te.colorizeToml(buf.Bytes())
_, err := writer.Write(colorized) _, err := writer.Write(colorized)

View File

@ -277,3 +277,4 @@ zclconf
cty cty
go-cty go-cty
unlabeled unlabeled
colorisation