Skip to content

Commit 5cd1eff

Browse files
committed
Update grammars
1 parent ee2ba80 commit 5cd1eff

6 files changed

Lines changed: 43 additions & 8 deletions

File tree

extensions/java/cgmanifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
"git": {
77
"name": "atom/language-java",
88
"repositoryUrl": "https://github.com/atom/language-java",
9-
"commitHash": "2e179ceac423403eb5bf0eff26884093c3edba6f"
9+
"commitHash": "f631536a4137d65b622f01cebeac72345f9e6f70"
1010
}
1111
},
1212
"license": "MIT",
13-
"version": "0.31.4"
13+
"version": "0.31.5"
1414
}
1515
],
1616
"version": 1

extensions/java/syntaxes/java.tmLanguage.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/atom/language-java/commit/2e179ceac423403eb5bf0eff26884093c3edba6f",
7+
"version": "https://github.com/atom/language-java/commit/f631536a4137d65b622f01cebeac72345f9e6f70",
88
"name": "Java",
99
"scopeName": "source.java",
1010
"patterns": [
@@ -1785,7 +1785,7 @@
17851785
]
17861786
},
17871787
"variables": {
1788-
"begin": "(?x)\n(?=\n (\n \\b(void|boolean|byte|char|short|int|float|long|double)\\b\n |\n (?>(\\w+\\.)*[A-Z_]+\\w*) # e.g. `javax.ws.rs.Response`, or `String`\n )\n \\s*\n (\n <[\\w<>,\\.?\\s\\[\\]]*> # e.g. `HashMap<Integer, String>`, or `List<java.lang.String>`\n )?\n \\s*\n (\n (\\[\\])* # int[][]\n )?\n \\s+\n [A-Za-z_$][\\w$]* # At least one identifier after space\n ([\\w\\[\\],$][\\w\\[\\],\\s]*)? # possibly primitive array or additional identifiers\n \\s*(=|:|;)\n)",
1788+
"begin": "(?x)\n(?=\n \\b\n (\n (void|boolean|byte|char|short|int|float|long|double)\n |\n (?>(\\w+\\.)*[A-Z_]+\\w*) # e.g. `javax.ws.rs.Response`, or `String`\n )\n \\b\n \\s*\n (\n <[\\w<>,\\.?\\s\\[\\]]*> # e.g. `HashMap<Integer, String>`, or `List<java.lang.String>`\n )?\n \\s*\n (\n (\\[\\])* # int[][]\n )?\n \\s+\n [A-Za-z_$][\\w$]* # At least one identifier after space\n ([\\w\\[\\],$][\\w\\[\\],\\s]*)? # possibly primitive array or additional identifiers\n \\s*(=|:|;)\n)",
17891789
"end": "(?=\\=|:|;)",
17901790
"name": "meta.definition.variable.java",
17911791
"patterns": [

extensions/php/cgmanifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"git": {
77
"name": "language-php",
88
"repositoryUrl": "https://github.com/atom/language-php",
9-
"commitHash": "11cdaf62a9d949d3aca550f1a58c9754de6b5ab0"
9+
"commitHash": "6c0da475f86b45ea990638525f68be7658986546"
1010
}
1111
},
1212
"license": "MIT",

extensions/php/syntaxes/php.tmLanguage.json

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/atom/language-php/commit/11cdaf62a9d949d3aca550f1a58c9754de6b5ab0",
7+
"version": "https://github.com/atom/language-php/commit/6c0da475f86b45ea990638525f68be7658986546",
88
"scopeName": "source.php",
99
"patterns": [
1010
{
@@ -1329,6 +1329,17 @@
13291329
}
13301330
]
13311331
},
1332+
"named-arguments": {
1333+
"match": "(?i)(?<=^|\\(|,)\\s*([a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*)\\s*(:)(?!:)",
1334+
"captures": {
1335+
"1": {
1336+
"name": "entity.name.variable.parameter.php"
1337+
},
1338+
"2": {
1339+
"name": "punctuation.separator.colon.php"
1340+
}
1341+
}
1342+
},
13321343
"function-call": {
13331344
"patterns": [
13341345
{
@@ -1357,6 +1368,9 @@
13571368
},
13581369
"name": "meta.function-call.php",
13591370
"patterns": [
1371+
{
1372+
"include": "#named-arguments"
1373+
},
13601374
{
13611375
"include": "$self"
13621376
}
@@ -1395,6 +1409,9 @@
13951409
},
13961410
"name": "meta.function-call.php",
13971411
"patterns": [
1412+
{
1413+
"include": "#named-arguments"
1414+
},
13981415
{
13991416
"include": "$self"
14001417
}
@@ -2242,6 +2259,9 @@
22422259
},
22432260
"name": "meta.method-call.php",
22442261
"patterns": [
2262+
{
2263+
"include": "#named-arguments"
2264+
},
22452265
{
22462266
"include": "$self"
22472267
}
@@ -2614,6 +2634,9 @@
26142634
},
26152635
"name": "meta.method-call.static.php",
26162636
"patterns": [
2637+
{
2638+
"include": "#named-arguments"
2639+
},
26172640
{
26182641
"include": "$self"
26192642
}
@@ -3447,6 +3470,18 @@
34473470
}
34483471
},
34493472
"patterns": [
3473+
{
3474+
"match": "(?i)^\\s*([a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*)\\s*(?=:(?!:))",
3475+
"captures": {
3476+
"1": {
3477+
"patterns": [
3478+
{
3479+
"include": "$self"
3480+
}
3481+
]
3482+
}
3483+
}
3484+
},
34503485
{
34513486
"include": "$self"
34523487
}

extensions/sql/cgmanifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"git": {
77
"name": "Microsoft/vscode-mssql",
88
"repositoryUrl": "https://github.com/Microsoft/vscode-mssql",
9-
"commitHash": "750d30dc48c4c0317b63bb5f1ed3e71487bb84a1"
9+
"commitHash": "61ae0eb21ac53883a23e09913a5ae77a59126ff9"
1010
}
1111
},
1212
"license": "MIT",

extensions/sql/syntaxes/sql.tmLanguage.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
55
"Once accepted there, we are happy to receive an update request."
66
],
7-
"version": "https://github.com/Microsoft/vscode-mssql/commit/750d30dc48c4c0317b63bb5f1ed3e71487bb84a1",
7+
"version": "https://github.com/Microsoft/vscode-mssql/commit/61ae0eb21ac53883a23e09913a5ae77a59126ff9",
88
"name": "SQL",
99
"scopeName": "source.sql",
1010
"patterns": [

0 commit comments

Comments
 (0)