on master help sign in
runtime: Query improvements
commit9b9c3c77f88af1ff798739aaa3303d563bbe8174 authorBlaž Hrastnik <blaz@mxxn.io> dateFri 3 Sep 2021, 10:39 (5 years ago) parent64099af
4 files changed+7−7
runtime/queries/c/highlights.scm+1−1 runtime/queries/javascript/highlights.scm+1−1 runtime/queries/lua/highlights.scm+4−4 runtime/queries/ruby/highlights.scm+1−1
runtime/queries/c/highlights.scm+1−1
@@ -61,7 +61,7 @@
6161
6262(null) @constant
6363(number_literal) @number
64−(char_literal) @number
64+(char_literal) @string
6565
6666(call_expression
6767 function: (identifier) @function)
runtime/queries/javascript/highlights.scm+1−1
@@ -87,7 +87,7 @@
8787 (template_string)
8888] @string
8989
90−(regex) @string.special
90+(regex) @string.regexp
9191(number) @number
9292
9393; Tokens
runtime/queries/lua/highlights.scm+4−4
@@ -23,27 +23,27 @@
2323 "for"
2424 "do"
2525 "end"
26−] @keyword.control.loop)
26+] @keyword.control.repeat)
2727
2828(for_in_statement
2929[
3030 "for"
3131 "do"
3232 "end"
33−] @keyword.control.loop)
33+] @keyword.control.repeat)
3434
3535(while_statement
3636[
3737 "while"
3838 "do"
3939 "end"
40−] @keyword.control.loop)
40+] @keyword.control.repeat)
4141
4242(repeat_statement
4343[
4444 "repeat"
4545 "until"
46−] @keyword.control.loop)
46+] @keyword.control.repeat)
4747
4848(do_statement
4949[
runtime/queries/ruby/highlights.scm+1−1
@@ -100,7 +100,7 @@
100100 (bare_symbol)
101101] @string.special.symbol
102102
103−(regex) @string.special.regex
103+(regex) @string.regexp
104104(escape_sequence) @escape
105105
106106[