mirror of
https://github.com/mikefarah/yq.git
synced 2026-08-24 00:04:50 +08:00
spelling
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
+2
-1
@@ -276,4 +276,5 @@ nohcl
|
|||||||
zclconf
|
zclconf
|
||||||
cty
|
cty
|
||||||
go-cty
|
go-cty
|
||||||
unlabeled
|
unlabeled
|
||||||
|
colorisation
|
||||||
Reference in New Issue
Block a user