mirror of
https://github.com/microsoft/vscode.git
synced 2025-12-24 20:26:08 +00:00
[docker] update grammar
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/8523e9d108a0e98865673701a7bd0a7929c5260b",
|
||||
"version": "https://github.com/moby/moby/commit/abd39744c6f3ed854500e423f5fabf952165161f",
|
||||
"fileTypes": [
|
||||
"Dockerfile"
|
||||
],
|
||||
@@ -19,7 +19,7 @@
|
||||
"name": "keyword.other.special-method.dockerfile"
|
||||
}
|
||||
},
|
||||
"match": "^\\s*\\b(FROM)\\b.*?\\b(AS)\\b"
|
||||
"match": "^\\s*\\b(?i:(FROM))\\b.*?\\b(?i:(AS))\\b"
|
||||
},
|
||||
{
|
||||
"captures": {
|
||||
@@ -30,7 +30,7 @@
|
||||
"name": "keyword.other.special-method.dockerfile"
|
||||
}
|
||||
},
|
||||
"match": "^\\s*(?:(ONBUILD)\\s+)?(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)\\s"
|
||||
"match": "^\\s*(?i:(ONBUILD)\\s+)?(?i:(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR))\\s"
|
||||
},
|
||||
{
|
||||
"captures": {
|
||||
@@ -41,7 +41,7 @@
|
||||
"name": "keyword.other.special-method.dockerfile"
|
||||
}
|
||||
},
|
||||
"match": "^\\s*(?:(ONBUILD)\\s+)?(CMD|ENTRYPOINT)\\s"
|
||||
"match": "^\\s*(?i:(ONBUILD)\\s+)?(?i:(CMD|ENTRYPOINT))\\s"
|
||||
},
|
||||
{
|
||||
"begin": "\"",
|
||||
|
||||
Reference in New Issue
Block a user