mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-25 11:08:51 +01:00
Update grammars (#235506)
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/moby/moby/commit/abd39744c6f3ed854500e423f5fabf952165161f",
|
||||
"version": "https://github.com/moby/moby/commit/c2029cb2574647e4bc28ed58486b8e85883eedb9",
|
||||
"name": "Dockerfile",
|
||||
"scopeName": "source.dockerfile",
|
||||
"patterns": [
|
||||
@@ -41,6 +41,9 @@
|
||||
},
|
||||
"match": "^\\s*(?i:(ONBUILD)\\s+)?(?i:(CMD|ENTRYPOINT))\\s"
|
||||
},
|
||||
{
|
||||
"include": "#string-character-escape"
|
||||
},
|
||||
{
|
||||
"begin": "\"",
|
||||
"beginCaptures": {
|
||||
@@ -57,8 +60,7 @@
|
||||
"name": "string.quoted.double.dockerfile",
|
||||
"patterns": [
|
||||
{
|
||||
"match": "\\\\.",
|
||||
"name": "constant.character.escaped.dockerfile"
|
||||
"include": "#string-character-escape"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -78,8 +80,7 @@
|
||||
"name": "string.quoted.single.dockerfile",
|
||||
"patterns": [
|
||||
{
|
||||
"match": "\\\\.",
|
||||
"name": "constant.character.escaped.dockerfile"
|
||||
"include": "#string-character-escape"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -98,5 +99,11 @@
|
||||
"comment": "comment.line",
|
||||
"match": "^(\\s*)((#).*$\\n?)"
|
||||
}
|
||||
]
|
||||
],
|
||||
"repository": {
|
||||
"string-character-escape": {
|
||||
"name": "constant.character.escaped.dockerfile",
|
||||
"match": "\\\\."
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user