Add TS quote query for a few languages, re #287

This commit is contained in:
Andy K. Massimino
2023-05-06 21:41:38 -04:00
parent 2640f94db9
commit 96133f57ea
4 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,5 @@
; inherits: quote
(preproc_ifdef
["#ifdef" "#ifndef"] @open.def
"#endif" @close.def) @scope.def

View File

@@ -1,4 +1,4 @@
; inherits: c,quote
; inherits: c
(template_parameter_list
"<" @open.template

View File

@@ -1,3 +1,5 @@
; inherits: quote
[
(element)
(script_element)

View File

@@ -1,3 +1,5 @@
; inherits: quote
; --------------- if/else ---------------
(block (if_expression "if" @open.if_) @scope.if_)
(expression_statement (if_expression "if" @open.if_) @scope.if_)