mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-21 17:19:01 +01:00
Update grammars
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
"If you want to provide a fix or improvement, please create a pull request against the original repository.",
|
||||
"Once accepted there, we are happy to receive an update request."
|
||||
],
|
||||
"version": "https://github.com/atom/language-php/commit/11cdaf62a9d949d3aca550f1a58c9754de6b5ab0",
|
||||
"version": "https://github.com/atom/language-php/commit/6c0da475f86b45ea990638525f68be7658986546",
|
||||
"scopeName": "source.php",
|
||||
"patterns": [
|
||||
{
|
||||
@@ -1329,6 +1329,17 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"named-arguments": {
|
||||
"match": "(?i)(?<=^|\\(|,)\\s*([a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*)\\s*(:)(?!:)",
|
||||
"captures": {
|
||||
"1": {
|
||||
"name": "entity.name.variable.parameter.php"
|
||||
},
|
||||
"2": {
|
||||
"name": "punctuation.separator.colon.php"
|
||||
}
|
||||
}
|
||||
},
|
||||
"function-call": {
|
||||
"patterns": [
|
||||
{
|
||||
@@ -1357,6 +1368,9 @@
|
||||
},
|
||||
"name": "meta.function-call.php",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#named-arguments"
|
||||
},
|
||||
{
|
||||
"include": "$self"
|
||||
}
|
||||
@@ -1395,6 +1409,9 @@
|
||||
},
|
||||
"name": "meta.function-call.php",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#named-arguments"
|
||||
},
|
||||
{
|
||||
"include": "$self"
|
||||
}
|
||||
@@ -2242,6 +2259,9 @@
|
||||
},
|
||||
"name": "meta.method-call.php",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#named-arguments"
|
||||
},
|
||||
{
|
||||
"include": "$self"
|
||||
}
|
||||
@@ -2614,6 +2634,9 @@
|
||||
},
|
||||
"name": "meta.method-call.static.php",
|
||||
"patterns": [
|
||||
{
|
||||
"include": "#named-arguments"
|
||||
},
|
||||
{
|
||||
"include": "$self"
|
||||
}
|
||||
@@ -3447,6 +3470,18 @@
|
||||
}
|
||||
},
|
||||
"patterns": [
|
||||
{
|
||||
"match": "(?i)^\\s*([a-z_\\x{7f}-\\x{7fffffff}][a-z0-9_\\x{7f}-\\x{7fffffff}]*)\\s*(?=:(?!:))",
|
||||
"captures": {
|
||||
"1": {
|
||||
"patterns": [
|
||||
{
|
||||
"include": "$self"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"include": "$self"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user