fixes & support new char & array syntaxes
This commit is contained in:
parent
8cbf55a627
commit
cb7011ac46
|
@ -73,7 +73,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"indentationRules": {
|
"indentationRules": {
|
||||||
"increaseIndentPattern": "\\{",
|
"increaseIndentPattern": "{",
|
||||||
"decreaseIndentPattern": "^\\s*\\}"
|
"decreaseIndentPattern": "\\s+}\\$"
|
||||||
},
|
},
|
||||||
}
|
}
|
4
package-lock.json
generated
4
package-lock.json
generated
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "hblang",
|
"name": "hblang",
|
||||||
"version": "0.2.5",
|
"version": "0.2.7",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "hblang",
|
"name": "hblang",
|
||||||
"version": "0.2.5",
|
"version": "0.2.7",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/vscode": "^1.75.0",
|
"@types/vscode": "^1.75.0",
|
||||||
"os-browserify": "^0.3.0",
|
"os-browserify": "^0.3.0",
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
},
|
},
|
||||||
"publisher": "koniifer",
|
"publisher": "koniifer",
|
||||||
"displayName": "hblang",
|
"displayName": "hblang",
|
||||||
"description": "Syntax highlighter and formatter for holey-bytes lang",
|
"description": "Syntax, formatting, and linting for holey-bytes lang",
|
||||||
"version": "0.2.6",
|
"version": "0.2.7",
|
||||||
"engines": {
|
"engines": {
|
||||||
"vscode": "^1.75.0"
|
"vscode": "^1.75.0"
|
||||||
},
|
},
|
||||||
|
|
|
@ -102,10 +102,17 @@
|
||||||
"patterns": [
|
"patterns": [
|
||||||
{
|
{
|
||||||
"name": "constant.character.escape.hblang",
|
"name": "constant.character.escape.hblang",
|
||||||
"match": "\\\\(?:[\"'\\\\bfnrt]|[{\\[]\\w+[}\\]]|[a-zA-Z])"
|
"match": "\\\\."
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "invalid.illegal.escaped.hblang",
|
"name": "string.quoted.single.hblang",
|
||||||
|
"begin": "'",
|
||||||
|
"end": "'",
|
||||||
|
"patterns": [
|
||||||
|
{
|
||||||
|
"name": "constant.character.escape.hblang",
|
||||||
"match": "\\\\."
|
"match": "\\\\."
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -220,8 +227,8 @@
|
||||||
"patterns": [
|
"patterns": [
|
||||||
{
|
{
|
||||||
"name": "meta.array.initialization.hblang",
|
"name": "meta.array.initialization.hblang",
|
||||||
"begin": "\\.\\(|{",
|
"begin": "\\.\\[",
|
||||||
"end": "\\)|}",
|
"end": "\\]",
|
||||||
"patterns": [
|
"patterns": [
|
||||||
{
|
{
|
||||||
"include": "#all"
|
"include": "#all"
|
||||||
|
|
Loading…
Reference in a new issue