From 397b76f28b15b42c7c7ad0e0d42eb86d19395a31 Mon Sep 17 00:00:00 2001 From: Dusty Pomerleau Date: Sat, 7 Nov 2020 09:49:08 +1100 Subject: [PATCH] add `+=` to assignment operators --- editors/code/rust.tmGrammar.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json index 77595aa006..7475aadbb9 100644 --- a/editors/code/rust.tmGrammar.json +++ b/editors/code/rust.tmGrammar.json @@ -693,7 +693,7 @@ { "comment": "assignment operators", "name": "keyword.operator.assignment.rust", - "match": "(-=|\\*=|/=|%=|\\^=|&=|\\|=|<<=|>>=)" + "match": "(\\+=|-=|\\*=|/=|%=|\\^=|&=|\\|=|<<=|>>=)" }, { "comment": "single equal",