mirror of
https://github.com/mikefarah/yq.git
synced 2026-07-06 13:25:42 +00:00
spelling
This commit is contained in:
parent
161be10791
commit
b974d973ee
@ -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
|
||||||
|
|||||||
@ -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
|
||||||
|
|
||||||
|
|||||||
@ -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)
|
||||||
|
|||||||
@ -277,3 +277,4 @@ zclconf
|
|||||||
cty
|
cty
|
||||||
go-cty
|
go-cty
|
||||||
unlabeled
|
unlabeled
|
||||||
|
colorisation
|
||||||
Loading…
Reference in New Issue
Block a user