diff --git a/README.md b/README.md index 5e6bf4c97..0535413a4 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,6 @@ Our highlighting works well with most popular VSCode themes, such as: - Monokai Dimmed - Tomorrow Night Blue - [One Dark Pro](https://marketplace.visualstudio.com/items?itemName=zhuangtongfa.Material-theme) -- [Mariana Pro](https://marketplace.visualstudio.com/items?itemName=rickynormandeau.mariana-pro) The only 2 themes we don't (and can't) support, due to their lack of coloring, are: diff --git a/grammars/rescript.tmLanguage.json b/grammars/rescript.tmLanguage.json index 1b2f0278f..5d36e5d53 100644 --- a/grammars/rescript.tmLanguage.json +++ b/grammars/rescript.tmLanguage.json @@ -38,7 +38,7 @@ "match": "\\b(false|true)\\b" }, "RE_KEYWORD": { - "name": "keyword", + "name": "storage.type", "match": "\\b(include|let|module|of|open|type)\\b" }, "commentLine": { diff --git a/package.json b/package.json index 17563d644..73a42a3f6 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,8 @@ { "scopes": { "jsx-lowercase": ["entity.name.tag"], - "jsx-tag": ["punctuation.definition.tag"] + "jsx-tag": ["punctuation.definition.tag"], + "support-type-primitive": ["support.type.primitive"] } } ], diff --git a/server/src/server.ts b/server/src/server.ts index 1bd547988..4c1c7b544 100644 --- a/server/src/server.ts +++ b/server/src/server.ts @@ -815,7 +815,7 @@ function onMessage(msg: m.Message) { tokenTypes: [ "operator", "variable", - "type", + "support-type-primitive", "jsx-tag", "class", "enumMember",