runtime: Query improvements

imgbot
Blaž Hrastnik 3 years ago
parent 64099af3f1
commit 9b9c3c77f8

@ -61,7 +61,7 @@
(null) @constant
(number_literal) @number
(char_literal) @number
(char_literal) @string
(call_expression
function: (identifier) @function)

@ -87,7 +87,7 @@
(template_string)
] @string
(regex) @string.special
(regex) @string.regexp
(number) @number
; Tokens

@ -23,27 +23,27 @@
"for"
"do"
"end"
] @keyword.control.loop)
] @keyword.control.repeat)
(for_in_statement
[
"for"
"do"
"end"
] @keyword.control.loop)
] @keyword.control.repeat)
(while_statement
[
"while"
"do"
"end"
] @keyword.control.loop)
] @keyword.control.repeat)
(repeat_statement
[
"repeat"
"until"
] @keyword.control.loop)
] @keyword.control.repeat)
(do_statement
[

@ -100,7 +100,7 @@
(bare_symbol)
] @string.special.symbol
(regex) @string.special.regex
(regex) @string.regexp
(escape_sequence) @escape
[

Loading…
Cancel
Save