update hcl parser, update queries

This commit is contained in:
mhoffm 2021-09-20 21:58:20 +02:00 committed by Stephan Seitz
parent 85a49875c6
commit 09ad32c91b
2 changed files with 11 additions and 7 deletions

View file

@ -90,7 +90,7 @@
"revision": "bf7d643b494b7c7eed909ed7fbd8447231152cb0" "revision": "bf7d643b494b7c7eed909ed7fbd8447231152cb0"
}, },
"hcl": { "hcl": {
"revision": "b048a42c6d907ff04e1a82e8dadcd9e8957024a1" "revision": "3cb7fc28247efbcb2973b97e71c78838ad98a583"
}, },
"heex": { "heex": {
"revision": "1dfda4f3c86ea39bcd9e89b5ed21a44d0c94a5a5" "revision": "1dfda4f3c86ea39bcd9e89b5ed21a44d0c94a5a5"

View file

@ -46,11 +46,14 @@
[ [
"for" "for"
"endfor"
"in" "in"
] @repeat ] @repeat
[ [
"if" "if"
"else"
"endif"
] @conditional ] @conditional
[ [
@ -64,12 +67,13 @@
(heredoc_start) ; END (heredoc_start) ; END
] @punctuation.delimiter ] @punctuation.delimiter
( template_interpolation [
[ (template_interpolation_start) ; ${
(template_interpolation_start) ; ${ (template_interpolation_end) ; }
(template_interpolation_end) ; } (template_directive_start) ; %{
] @punctuation.special (template_directive_end) ; }
) (strip_marker) ; ~
] @punctuation.special
(numeric_lit) @number (numeric_lit) @number
(bool_lit) @boolean (bool_lit) @boolean