Skip to content

Commit 37af80d

Browse files
Add more operators (#152)
* Add comparison operators * ALL the operators ...uh this is a lot. This might be kinda silly. Ternary is an operator, but that's not included because of ":". typeof, in, void, they're operators, but they're also keywords, so i'm not changing those either. * visual consistency [skip ci] * Forgot bitwise not * manual action Co-authored-by: JenChieh <[email protected]>
1 parent 1eee0d3 commit 37af80d

File tree

2 files changed

+26
-2
lines changed

2 files changed

+26
-2
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: build
22

33
on:
4+
workflow_dispatch:
45
push:
56
pull_request:
67
branches:

queries/highlights.scm

Lines changed: 25 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,16 +116,24 @@
116116
] @punctuation.delimiter
117117

118118
[
119-
"--"
120119
"-"
120+
"--"
121121
"-="
122-
"&&"
123122
"+"
124123
"++"
125124
"+="
125+
"*"
126+
"*="
127+
"**"
128+
"**="
129+
"/"
130+
"/="
131+
"%"
132+
"%="
126133
"<"
127134
"<="
128135
"<<"
136+
"<<="
129137
"="
130138
"=="
131139
"==="
@@ -136,7 +144,22 @@
136144
">"
137145
">="
138146
">>"
147+
">>="
148+
">>>"
149+
">>>="
150+
"~"
151+
"^"
152+
"&"
153+
"|"
154+
"^="
155+
"&="
156+
"|="
157+
"&&"
139158
"||"
159+
"??"
160+
"&&="
161+
"||="
162+
"??="
140163
] @operator
141164

142165
[

0 commit comments

Comments
 (0)