[docker] update grammar

This commit is contained in:
Martin Aeschlimann
2017-05-25 09:24:50 +02:00
committed by Dirk Baeumer
parent 51a10b5ebe
commit d264b70f20
3 changed files with 26 additions and 13 deletions

View File

@@ -8,9 +8,12 @@
"captures": {
"1": {
"name": "keyword.other.special-method.dockerfile"
},
"2": {
"name": "keyword.other.special-method.dockerfile"
}
},
"match": "\\s*(?:(FROM|AS))\\s"
"match": "^\\s*\\b(FROM)\\b.*?\\b(AS)\\b"
},
{
"captures": {
@@ -94,5 +97,5 @@
],
"scopeName": "source.dockerfile",
"uuid": "a39d8795-59d2-49af-aa00-fe74ee29576e",
"version": "https://github.com/moby/moby/commit/4cb71f80823af345d063cf0ad657e73ce9caa75f"
"version": "https://github.com/moby/moby/commit/8523e9d108a0e98865673701a7bd0a7929c5260b"
}