Skip to content

Commit

Permalink
[release] v3.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
salbert11 committed Jun 29, 2024
1 parent a252411 commit 8a8b453
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"icon": "images/pineicon.png",
"publisher": "salbert11",
"license": "MIT",
"version": "3.4.1-beta-2",
"version": "3.4.1",
"engines": {
"vscode": "^1.62.0"
},
Expand Down
2 changes: 1 addition & 1 deletion snippets/built-in_functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -1466,7 +1466,7 @@
"map.new ⇨ 𝑓": {
"prefix": "map.new",
"body": [
"map.new<${1|int,float,bool,string,color|}, ${2:valueType}>()${0}"
"map.new<${1|keyType,int,float,bool,string,color|}, ${2|valueType,int,float,bool,string,color|}>()${0}"
],
"description": "Creates a new map object. ⇨ 𝑓 | map.new<keyType, valueType>() → map<keyType, valueType>"
},
Expand Down
2 changes: 1 addition & 1 deletion src/hover_built-in_functions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3968,7 +3968,7 @@
]
},
{
"pattern": "(?<![\\.]\\s*)\\b(map\\.new)(?=\\s*<\\s*[a-zA-Z_]+\\s*\\,\\s*\\b[a-zA-Z_][\\w\\.]*\\b\\s*>\\s*\\()",
"pattern": "(?<![\\.]\\s*)\\b(map\\.new)(?=\\s*<\\s*\\b[a-zA-Z_][\\w\\.]*\\b\\s*\\,\\s*\\b[a-zA-Z_][\\w\\.]*\\b\\s*>\\s*\\()",
"codeblock": [
"map.new<keyType, valueType>() → map<keyType, valueType>"
],
Expand Down
6 changes: 3 additions & 3 deletions syntaxes/ps.tmLanguage.json
Original file line number Diff line number Diff line change
Expand Up @@ -1007,7 +1007,7 @@
}
},
{
"match": "(?<![\\.]\\s*)\\b(map)(\\.)(new)\\s*(<)\\s*([a-zA-Z_]+)\\s*(\\,)\\s*([a-zA-Z_][\\w\\.]*)\\b\\s*(>)(?=\\s*\\()",
"match": "(?<![\\.]\\s*)\\b(map)(\\.)(new)\\s*(<)\\s*([a-zA-Z_][\\w\\.]*)\\s*(\\,)\\s*([a-zA-Z_][\\w\\.]*)\\b\\s*(>)(?=\\s*\\()",
"captures": {
"1": {
"name": "support.function.ps"
Expand Down Expand Up @@ -1330,7 +1330,7 @@
"include": "#collection_new"
},
{
"match": "^(?:(export)\\s+)?\\b(type)\\s+([a-zA-Z_]\\w*)\\b(?=\\s*(?:\\s*//.*)?$)",
"match": "^(?:(export)\\s+)?\\b(enum|type)\\s+([a-zA-Z_]\\w*)\\b(?=\\s*(?:\\s*//.*)?$)",
"captures": {
"1": {"name": "keyword.control.export.ps"},
"2": {"name": "storage.type.type.ps"},
Expand Down Expand Up @@ -1469,7 +1469,7 @@
}
},
{
"match": "(?<![\\.]\\s*)\\b(map)\\s*(<)\\s*(int|float|bool|string|color)\\s*(\\,)\\s*([a-zA-Z_][\\w\\.]*)\\b\\s*(>)",
"match": "(?<![\\.]\\s*)\\b(map)\\s*(<)\\s*([a-zA-Z_][\\w\\.]*)\\s*(\\,)\\s*([a-zA-Z_][\\w\\.]*)\\b\\s*(>)",
"captures": {
"1":{"name":"support.type.primitive.ps"},
"2":{"name":"punctuation.definition.generic.begin.ps"},
Expand Down

0 comments on commit 8a8b453

Please sign in to comment.