mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-21 12:50:09 -04:00
feat(jinja,jinja_inline)!: update parser and queries
Breaking change: replace anonymous control flow nodes with named nodes.
This commit is contained in:
parent
fc6ad62eab
commit
e778b6097d
2 changed files with 15 additions and 14 deletions
|
|
@ -49,14 +49,15 @@
|
|||
] @keyword
|
||||
|
||||
[
|
||||
"endtrans"
|
||||
"endblock"
|
||||
"endwith"
|
||||
"endfilter"
|
||||
"endmacro"
|
||||
"endcall"
|
||||
"endset"
|
||||
"endautoescape"
|
||||
(endtrans_statement)
|
||||
(endblock_statement)
|
||||
(endwith_statement)
|
||||
(endfilter_statement)
|
||||
(endmacro_statement)
|
||||
(endcall_statement)
|
||||
(endset_statement)
|
||||
(endautoescape_statement)
|
||||
"required"
|
||||
] @keyword
|
||||
|
||||
(do_statement
|
||||
|
|
@ -74,9 +75,9 @@
|
|||
|
||||
[
|
||||
"if"
|
||||
"else"
|
||||
"endif"
|
||||
"elif"
|
||||
(else_statement)
|
||||
(endif_statement)
|
||||
(elif_block)
|
||||
] @keyword.conditional
|
||||
|
||||
[
|
||||
|
|
@ -84,7 +85,7 @@
|
|||
"in"
|
||||
"continue"
|
||||
"break"
|
||||
"endfor"
|
||||
(endfor_statement)
|
||||
] @keyword.repeat
|
||||
|
||||
"call" @function.call
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue