Skip to content

Commit 8a8b453

Browse files
committed
[release] v3.4.1
1 parent a252411 commit 8a8b453

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"icon": "images/pineicon.png",
66
"publisher": "salbert11",
77
"license": "MIT",
8-
"version": "3.4.1-beta-2",
8+
"version": "3.4.1",
99
"engines": {
1010
"vscode": "^1.62.0"
1111
},

snippets/built-in_functions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1466,7 +1466,7 @@
14661466
"map.new ⇨ 𝑓": {
14671467
"prefix": "map.new",
14681468
"body": [
1469-
"map.new<${1|int,float,bool,string,color|}, ${2:valueType}>()${0}"
1469+
"map.new<${1|keyType,int,float,bool,string,color|}, ${2|valueType,int,float,bool,string,color|}>()${0}"
14701470
],
14711471
"description": "Creates a new map object. ⇨ 𝑓 | map.new<keyType, valueType>() → map<keyType, valueType>"
14721472
},

src/hover_built-in_functions.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3968,7 +3968,7 @@
39683968
]
39693969
},
39703970
{
3971-
"pattern": "(?<![\\.]\\s*)\\b(map\\.new)(?=\\s*<\\s*[a-zA-Z_]+\\s*\\,\\s*\\b[a-zA-Z_][\\w\\.]*\\b\\s*>\\s*\\()",
3971+
"pattern": "(?<![\\.]\\s*)\\b(map\\.new)(?=\\s*<\\s*\\b[a-zA-Z_][\\w\\.]*\\b\\s*\\,\\s*\\b[a-zA-Z_][\\w\\.]*\\b\\s*>\\s*\\()",
39723972
"codeblock": [
39733973
"map.new<keyType, valueType>() → map<keyType, valueType>"
39743974
],

syntaxes/ps.tmLanguage.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@
10071007
}
10081008
},
10091009
{
1010-
"match": "(?<![\\.]\\s*)\\b(map)(\\.)(new)\\s*(<)\\s*([a-zA-Z_]+)\\s*(\\,)\\s*([a-zA-Z_][\\w\\.]*)\\b\\s*(>)(?=\\s*\\()",
1010+
"match": "(?<![\\.]\\s*)\\b(map)(\\.)(new)\\s*(<)\\s*([a-zA-Z_][\\w\\.]*)\\s*(\\,)\\s*([a-zA-Z_][\\w\\.]*)\\b\\s*(>)(?=\\s*\\()",
10111011
"captures": {
10121012
"1": {
10131013
"name": "support.function.ps"
@@ -1330,7 +1330,7 @@
13301330
"include": "#collection_new"
13311331
},
13321332
{
1333-
"match": "^(?:(export)\\s+)?\\b(type)\\s+([a-zA-Z_]\\w*)\\b(?=\\s*(?:\\s*//.*)?$)",
1333+
"match": "^(?:(export)\\s+)?\\b(enum|type)\\s+([a-zA-Z_]\\w*)\\b(?=\\s*(?:\\s*//.*)?$)",
13341334
"captures": {
13351335
"1": {"name": "keyword.control.export.ps"},
13361336
"2": {"name": "storage.type.type.ps"},
@@ -1469,7 +1469,7 @@
14691469
}
14701470
},
14711471
{
1472-
"match": "(?<![\\.]\\s*)\\b(map)\\s*(<)\\s*(int|float|bool|string|color)\\s*(\\,)\\s*([a-zA-Z_][\\w\\.]*)\\b\\s*(>)",
1472+
"match": "(?<![\\.]\\s*)\\b(map)\\s*(<)\\s*([a-zA-Z_][\\w\\.]*)\\s*(\\,)\\s*([a-zA-Z_][\\w\\.]*)\\b\\s*(>)",
14731473
"captures": {
14741474
"1":{"name":"support.type.primitive.ps"},
14751475
"2":{"name":"punctuation.definition.generic.begin.ps"},

0 commit comments

Comments
 (0)