Skip to content

Commit 51c8203

Browse files
Annotation + combined assignment operator improvements
1 parent f0fbe27 commit 51c8203

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

languages/crystal/highlights.scm

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,23 @@
109109
"="
110110
"=>"
111111
"->"
112+
"+="
113+
"&+="
114+
"-="
115+
"&-="
116+
"*="
117+
"&*="
118+
"/="
119+
"//="
120+
"%="
121+
"|="
122+
"&="
123+
"^="
124+
"**="
125+
"<<="
126+
">>="
127+
"||="
128+
"&&="
112129
] @operator
113130

114131
(operator) @operator
@@ -128,6 +145,9 @@
128145
"}"
129146
] @punctuation.bracket
130147

148+
(annotation
149+
"@[" @punctuation.bracket)
150+
131151
(index_call
132152
method: (operator) @punctuation.bracket
133153
[

0 commit comments

Comments
 (0)