Skip to content

Commit fa7f669

Browse files
authored
feat(tolk/highlighting): support highlighting for enum, readonly and private keywords (#141)
Fixes #140
1 parent 4cb663e commit fa7f669

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

editors/code/src/languages/syntaxes/tolk.tmLanguage.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@
4949
},
5050
{
5151
"name": "keyword.other",
52-
"match": "\\b(import|export|true|false|null|redef|mutate|tolk|as|is|!is)\\b"
52+
"match": "\\b(import|export|private|readonly|true|false|null|redef|mutate|tolk|as|is|!is)\\b"
5353
},
5454
{
5555
"name": "storage.type",
56-
"match": "\\b(type|enum|int|cell|void|bool|slice|tuple|builder|continuation|never|coins|int\\d+|uint\\d+)\\b"
56+
"match": "\\b(type|int|cell|void|bool|slice|tuple|builder|continuation|never|coins|int\\d+|uint\\d+)\\b"
5757
},
5858
{
5959
"name": "storage.modifier",
60-
"match": "\\b(global|const|var|val|fun|get|struct)\\b"
60+
"match": "\\b(global|const|var|val|fun|get|struct|enum)\\b"
6161
},
6262
{
6363
"name": "entity.name.type",

0 commit comments

Comments
 (0)