Skip to content

Commit b8984bd

Browse files
author
Abhinandan Arya
authored
Fix keyword color problem - some of keywords were from OCaml (#84)
1 parent d872bf4 commit b8984bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grammars/rescript.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"RE_KEYWORDS": {
1717
"name": "keyword.control",
18-
"match": "\\b(and|as|assert|begin|class|constraint|done|downto|exception|external|fun|functor|inherit|lazy|let|pub|mutable|new|nonrec|object|of|or|pri|rec|then|to|val|virtual|try|catch|finally|do|else|for|if|switch|while|import|library|export|module|in|raise|private)\\b"
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"
1919
},
2020
"RE_LITERAL": {
2121
"name": "constant.language",

0 commit comments

Comments
 (0)