runtime: Query improvements
This commit is contained in:
parent
64099af3f1
commit
9b9c3c77f8
4 changed files with 7 additions and 7 deletions
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
(null) @constant
|
(null) @constant
|
||||||
(number_literal) @number
|
(number_literal) @number
|
||||||
(char_literal) @number
|
(char_literal) @string
|
||||||
|
|
||||||
(call_expression
|
(call_expression
|
||||||
function: (identifier) @function)
|
function: (identifier) @function)
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
(template_string)
|
(template_string)
|
||||||
] @string
|
] @string
|
||||||
|
|
||||||
(regex) @string.special
|
(regex) @string.regexp
|
||||||
(number) @number
|
(number) @number
|
||||||
|
|
||||||
; Tokens
|
; Tokens
|
||||||
|
|
|
@ -23,27 +23,27 @@
|
||||||
"for"
|
"for"
|
||||||
"do"
|
"do"
|
||||||
"end"
|
"end"
|
||||||
] @keyword.control.loop)
|
] @keyword.control.repeat)
|
||||||
|
|
||||||
(for_in_statement
|
(for_in_statement
|
||||||
[
|
[
|
||||||
"for"
|
"for"
|
||||||
"do"
|
"do"
|
||||||
"end"
|
"end"
|
||||||
] @keyword.control.loop)
|
] @keyword.control.repeat)
|
||||||
|
|
||||||
(while_statement
|
(while_statement
|
||||||
[
|
[
|
||||||
"while"
|
"while"
|
||||||
"do"
|
"do"
|
||||||
"end"
|
"end"
|
||||||
] @keyword.control.loop)
|
] @keyword.control.repeat)
|
||||||
|
|
||||||
(repeat_statement
|
(repeat_statement
|
||||||
[
|
[
|
||||||
"repeat"
|
"repeat"
|
||||||
"until"
|
"until"
|
||||||
] @keyword.control.loop)
|
] @keyword.control.repeat)
|
||||||
|
|
||||||
(do_statement
|
(do_statement
|
||||||
[
|
[
|
||||||
|
|
|
@ -100,7 +100,7 @@
|
||||||
(bare_symbol)
|
(bare_symbol)
|
||||||
] @string.special.symbol
|
] @string.special.symbol
|
||||||
|
|
||||||
(regex) @string.special.regex
|
(regex) @string.regexp
|
||||||
(escape_sequence) @escape
|
(escape_sequence) @escape
|
||||||
|
|
||||||
[
|
[
|
||||||
|
|
Loading…
Add table
Reference in a new issue