We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4faa239 commit d4ceba1Copy full SHA for d4ceba1
grammars/rescript.tmLanguage.json
@@ -15,7 +15,11 @@
15
},
16
"RE_KEYWORDS": {
17
"name": "keyword.control",
18
- "match": "\\b(and|as|assert|constraint|downto|else|exception|external|false|for|if|in|include|lazy|let|module|mutable|of|open|rec|switch|to|true|try|type|when|while|with)\\b"
+ "match": "\\b(and|as|assert|constraint|downto|else|exception|external|false|for|if|in|include|lazy|module|mutable|of|open|rec|switch|to|true|try|type|when|while|with)\\b"
19
+ },
20
+ "RE_LET": {
21
+ "name": "keyword",
22
+ "match": "\\b(let)\\b"
23
24
"RE_LITERAL": {
25
"name": "constant.language",
@@ -91,6 +95,9 @@
91
95
"patterns": [
92
96
{
93
97
"include": "#RE_KEYWORDS"
98
99
+ {
100
+ "include": "#RE_LET"
94
101
}
102
]
103
0 commit comments