Skip to content

Commit ed9f8d5

Browse files
Merge #6488
6488: Textmate grammar: add `+=` to assignment operators r=dustypomerleau a=dustypomerleau Fixes dustypomerleau/rust-syntax#3. Co-authored-by: Dusty Pomerleau <[email protected]>
2 parents c365329 + 397b76f commit ed9f8d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

editors/code/rust.tmGrammar.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@
693693
{
694694
"comment": "assignment operators",
695695
"name": "keyword.operator.assignment.rust",
696-
"match": "(-=|\\*=|/=|%=|\\^=|&=|\\|=|<<=|>>=)"
696+
"match": "(\\+=|-=|\\*=|/=|%=|\\^=|&=|\\|=|<<=|>>=)"
697697
},
698698
{
699699
"comment": "single equal",

0 commit comments

Comments
 (0)