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"
},
"hcl": {
"revision": "b048a42c6d907ff04e1a82e8dadcd9e8957024a1"
"revision": "3cb7fc28247efbcb2973b97e71c78838ad98a583"
},
"heex": {
"revision": "1dfda4f3c86ea39bcd9e89b5ed21a44d0c94a5a5"

View file

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