diff --git a/editors/code/rust.tmGrammar.json b/editors/code/rust.tmGrammar.json index 3be565195118..ce1180c6ce64 100644 --- a/editors/code/rust.tmGrammar.json +++ b/editors/code/rust.tmGrammar.json @@ -319,7 +319,7 @@ { "comment": "inferred types, wildcard patterns, ignored params", "name": "comment.char.underscore.rust", - "match": "\\b_\\w*\\b" + "match": "\\b_\\w*\\b[^!\\(]" } ] },