diff --git a/grammars/rescript.tmLanguage.json b/grammars/rescript.tmLanguage.json index a967d3c28..3b97b3aa6 100644 --- a/grammars/rescript.tmLanguage.json +++ b/grammars/rescript.tmLanguage.json @@ -5,7 +5,7 @@ "repository": { "RE_KEYWORD_CONTROL": { "name": "keyword.control", - "match": "\\b(and|as|assert|async|await|catch|constraint|downto|else|exception|external|for|if|in|lazy|mutable|rec|switch|to|try|when|while|with)\\b" + "match": "\\b(and|as|assert|async|await|catch|constraint|downto|else|exception|external|for|if|in|lazy|mutable|rec|switch|to|try|when|while|with|private)\\b" }, "RE_TO_DOWNTO_AS_LABELS": { "patterns": [