From c102045ed58b31faa932b97162a14c07043875bd Mon Sep 17 00:00:00 2001 From: Kai Schmidt Date: Fri, 1 Jun 2018 20:52:33 -0700 Subject: [PATCH] Add support for the try operator ('?') --- grammars/rust.cson | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammars/rust.cson b/grammars/rust.cson index 2b70a7b..c26fbc2 100644 --- a/grammars/rust.cson +++ b/grammars/rust.cson @@ -300,7 +300,7 @@ { 'comment': 'Miscellaneous operator' 'name': 'keyword.operator.misc.rust' - 'match': '(=>|::|\\bas\\b)' + 'match': '(=>|::|\\bas\\b|\\?)' } { 'comment': 'Comparison operator'