HCL Language

Loogv0.1.0Apache-2.0 AND MPL-2.0

Syntax highlighting for HCL.

InstallOpens in Loog

Details

Syntax highlighting for HCL.

  • Grammars: hcl
  • File types: hcl, tf, tfvars
  • License of the bundled grammar and queries: Apache-2.0 AND MPL-2.0

The grammar is a Tree-sitter parser compiled to WebAssembly from pinned sources; PROVENANCE.md lists them and licenses/ carries their licenses.

Change how it is colored

Put your own hcl/highlights.scm in Loog's queries folder. Start the file with ; extends to add rules to the ones here; without it your file replaces them. Use Inspect Highlight at Cursor to see which rule colors a place.

Contributions

Syntax highlighting
GrammarFile types
hcl
hcltftfvars

Changelog

0.1.3

  • Changed the extension category from Languages to Syntax Highlighting.

0.1.2

  • The manifest names what the extension is for: contributes.highlight replaces contributes.languages. The grammar and queries are unchanged; this needs a Loog that reads the new name.

0.1.1

  • The extension builds itself; nothing in what it contains changed.

0.1.0

  • Built from the pinned sources listed in PROVENANCE.md.