From b974d973ee5911bfe4d71b640d154ccd9293f0ed Mon Sep 17 00:00:00 2001 From: Mike Farah Date: Sat, 20 Dec 2025 09:55:29 +1100 Subject: [PATCH] spelling --- pkg/yqlib/doc/usage/hcl.md | 2 +- pkg/yqlib/doc/usage/headers/hcl.md | 2 +- pkg/yqlib/encoder_toml.go | 1 - project-words.txt | 3 ++- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/yqlib/doc/usage/hcl.md b/pkg/yqlib/doc/usage/hcl.md index 4d636a70..7704ca40 100644 --- a/pkg/yqlib/doc/usage/hcl.md +++ b/pkg/yqlib/doc/usage/hcl.md @@ -7,7 +7,7 @@ HCL is commonly used in HashiCorp tools like Terraform for configuration files. - String interpolation and expressions (preserved without quotes) - Comments (leading, head, and line comments) - Nested structures (maps and lists) -- Syntax colorization when enabled +- Syntax colorisation when enabled ## Parse HCL diff --git a/pkg/yqlib/doc/usage/headers/hcl.md b/pkg/yqlib/doc/usage/headers/hcl.md index c60a5453..7025d8e3 100644 --- a/pkg/yqlib/doc/usage/headers/hcl.md +++ b/pkg/yqlib/doc/usage/headers/hcl.md @@ -7,5 +7,5 @@ HCL is commonly used in HashiCorp tools like Terraform for configuration files. - String interpolation and expressions (preserved without quotes) - Comments (leading, head, and line comments) - Nested structures (maps and lists) -- Syntax colorization when enabled +- Syntax colorisation when enabled diff --git a/pkg/yqlib/encoder_toml.go b/pkg/yqlib/encoder_toml.go index c3807cb0..4b80626c 100644 --- a/pkg/yqlib/encoder_toml.go +++ b/pkg/yqlib/encoder_toml.go @@ -45,7 +45,6 @@ func (te *tomlEncoder) Encode(writer io.Writer, node *CandidateNode) error { return err } - // Apply colorization if enabled if te.prefs.ColorsEnabled { colorized := te.colorizeToml(buf.Bytes()) _, err := writer.Write(colorized) diff --git a/project-words.txt b/project-words.txt index 3c2ddda9..82ea7973 100644 --- a/project-words.txt +++ b/project-words.txt @@ -276,4 +276,5 @@ nohcl zclconf cty go-cty -unlabeled \ No newline at end of file +unlabeled +colorisation \ No newline at end of file