diff options
| -rw-r--r-- | queries/hcl/highlights.scm | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/queries/hcl/highlights.scm b/queries/hcl/highlights.scm index 2e0929fc9..b53faf040 100644 --- a/queries/hcl/highlights.scm +++ b/queries/hcl/highlights.scm @@ -36,11 +36,15 @@ [ (ellipsis) "\?" - ":" "=>" ] @punctuation.special [ + ":" + "=" +] @none + +[ "for" "in" ] @repeat @@ -55,19 +59,22 @@ (heredoc_template) ] @string + +[ + (heredoc_identifier) @punctuation.delimiter + (heredoc_start) @punctuation.delimiter +] + (template_interpolation) @string.escape -(heredoc_identifier) @namespace -(heredoc_start) @namespace (numeric_lit) @number (bool_lit) @boolean (null_lit) @constant (comment) @comment (identifier) @symbol -(block (identifier) @namespace) +(block (identifier) @type) (function_call (identifier) @function) -(function_call (function_arguments) @parameter) -(attribute (identifier) @symbol) +(attribute (identifier) @keyword) (ERROR) @error |
