Skip to content

Commit d22dbb3

Browse files
committed
Update version (v0.1.1)
1 parent 6552132 commit d22dbb3

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
*.vsix
2-
node_modules
2+
node_modules
3+
example.er

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"displayName": "vscode-erg",
44
"description": "Erg language support for Visual Studio Code",
55
"publisher": "erg-lang",
6-
"version": "0.1.0",
6+
"version": "0.1.1",
77
"engines": {
88
"vscode": "^1.70.0"
99
},

syntaxes/erg.tmLanguage.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -148,13 +148,13 @@
148148
"comment_block": {
149149
"patterns": [
150150
{
151-
"begin": "#=",
151+
"begin": "#\\[",
152152
"beginCaptures": {
153153
"0": {
154154
"name": "punctuation.definition.comment.begin.erg"
155155
}
156156
},
157-
"end": "=#",
157+
"end": "\\]#",
158158
"endCaptures": {
159159
"0": {
160160
"name": "punctuation.definition.comment.end.erg"
@@ -292,7 +292,7 @@
292292
"name": "constant.global.erg"
293293
},
294294
{
295-
"match": "\\btrue\\b|\\bfalse\\b|\\bnothing\\b|\\bmissing\\b",
295+
"match": "\\bTrue\\b|\\bFalse\\b|\\bNone\\b|\\bNotImplemented\\b|\\bEllipsis\\b",
296296
"name": "constant.language.erg"
297297
}
298298
]
@@ -359,12 +359,12 @@
359359
"name": "keyword.operator.bitwise.erg"
360360
},
361361
{
362-
"match": "(?:\\+\\+|--|\\+|\\.\\+|-|\\.\\-|\\*|\\.\\*|//(?!=)|\\.//(?!=)|/|\\./|%|\\.%|\\\\|\\.\\\\|\\^|\\.\\^|÷|\\.÷|⋅|\\.⋅|∩|\\.∩|∪|\\.∪|×|√|∛)",
362+
"match": "(?:\\+\\+|\\+|\\.\\+|-|\\.\\-|\\*|\\.\\*|//(?!=)|\\.//(?!=)|/|\\./|%|\\.%)",
363363
"name": "keyword.operator.arithmetic.erg"
364364
},
365365
{
366-
"match": "(?:(?<=\\s)in(?=\\s))",
367-
"name": "keyword.operator.relation.in.erg"
366+
"match": "(?:(?<=\\s)in|and|or|not(?=\\s))",
367+
"name": "keyword.operator.relation.erg"
368368
},
369369
{
370370
"match": "(?:\\.(?=(?:@|_|\\p{L}))|\\.\\.+)",
@@ -966,7 +966,7 @@
966966
},
967967
"builtin-types": {
968968
"name": "support.type.erg",
969-
"match": "(?x)\n (?<!\\.) \\b(\n Array | Bool | ByteArray | Bytes | ClassMethod | Complex | Dict\n | Float | FrozenSet | Int | Object | Property\n | Set | Slice | StaticMethod | Str | Tuple | Type\n\n (?# Although 'super' is not a type, it's related to types,\n and is special enough to be highlighted differently from\n other built-ins)\n | super\n )\\b\n"
969+
"match": "(?x)\n (?<!\\.) \\b(\n Array | Bool | ByteArray | Bytes | ClassType | ClassMethod | Complex | Dict\n | Float | FrozenSet | Int | Object | Property\n | Set | Slice | StaticMethod | Str | Tuple | TraitType | Type\n\n (?# Although 'super' is not a type, it's related to types,\n and is special enough to be highlighted differently from\n other built-ins)\n | super\n )\\b\n"
970970
}
971971
},
972972
"scopeName": "source.erg"

0 commit comments

Comments
 (0)