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