Skip to content

Commit 5bbe849

Browse files
authored
Highlight private as a keyword (#957)
1 parent efe8ee0 commit 5bbe849

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/rescript.tmLanguage.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"repository": {
66
"RE_KEYWORD_CONTROL": {
77
"name": "keyword.control",
8-
"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"
8+
"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"
99
},
1010
"RE_TO_DOWNTO_AS_LABELS": {
1111
"patterns": [

0 commit comments

Comments
 (0)