Skip to content

Commit 078a104

Browse files
committed
Remove non-reserved keywords.
1 parent 50e7a0c commit 078a104

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"displayName": "Rhai Language Support",
55
"description": "Syntax highlighting for Rhai scripts",
66
"publisher": "rhaiscript",
7-
"version": "0.6.3",
7+
"version": "0.6.4",
88
"icon": "assets/icon.png",
99
"homepage": "https://rhai.rs",
1010
"bugs": {
@@ -107,4 +107,4 @@
107107
"tslint": "^6.0.0",
108108
"typescript": "^3.8.2"
109109
}
110-
}
110+
}

syntax/rhai.YAML-tmLanguage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -508,4 +508,4 @@ repository:
508508
- name: support.function.rhai
509509
match: \b(print|debug|call|curry|eval|type_of|is_def_var|is_def_fn|is_shared)\b
510510
- name: invalid.illegal.keyword.rhai
511-
match: \b(var|static|begin|end|shared|each|then|goto|exit|unless|match|case|public|protected|new|use|with|module|package|super|thread|spawn|go|await|async|sync|yield|default|void|null|nil)\b
511+
match: \b(var|static|shared|goto|exit|match|case|public|protected|new|use|with|module|package|super|thread|spawn|go|await|async|sync|yield|default|void|null|nil)\b

syntax/rhai.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@
817817
},
818818
{
819819
"name": "invalid.illegal.keyword.rhai",
820-
"match": "\\b(var|static|begin|end|shared|each|then|goto|exit|unless|match|case|public|protected|new|use|with|module|package|super|thread|spawn|go|await|async|sync|yield|default|void|null|nil)\\b"
820+
"match": "\\b(var|static|shared|goto|exit|match|case|public|protected|new|use|with|module|package|super|thread|spawn|go|await|async|sync|yield|default|void|null|nil)\\b"
821821
}
822822
]
823823
}

0 commit comments

Comments
 (0)