fix missing keywords

This commit is contained in:
koniifer 2024-12-18 19:25:11 +00:00
parent 04d662ee42
commit 8cbf55a627
3 changed files with 6 additions and 6 deletions

4
package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "hblang",
"version": "0.2.4",
"version": "0.2.5",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "hblang",
"version": "0.2.4",
"version": "0.2.5",
"devDependencies": {
"@types/vscode": "^1.75.0",
"os-browserify": "^0.3.0",

View file

@ -6,7 +6,7 @@
"publisher": "koniifer",
"displayName": "hblang",
"description": "Syntax highlighter and formatter for holey-bytes lang",
"version": "0.2.5",
"version": "0.2.6",
"engines": {
"vscode": "^1.75.0"
},

View file

@ -116,7 +116,7 @@
"patterns": [
{
"name": "keyword.control.hblang",
"match": "(?<!\\w)\\b(fn|loop|break|if|else|return|packed|continue|true|false|struct|idk|die|null|defer)\\b(?!\\w)"
"match": "(?<!\\w)\\b(fn|loop|break|if|else|return|packed|continue|true|false|struct|idk|die|null|defer|union|enum|match)\\b(?!\\w)"
}
]
},
@ -220,8 +220,8 @@
"patterns": [
{
"name": "meta.array.initialization.hblang",
"begin": "\\.\\(",
"end": "\\)",
"begin": "\\.\\(|{",
"end": "\\)|}",
"patterns": [
{
"include": "#all"