Merge pull request #33095 from chrisdias/chrisdias/multistagebuild

syntax highlighting: support FROM...AS for multi stage build
Upstream-commit: 08894a7f237945c70ffc1790f5c297a416f85e87
Component: engine
This commit is contained in:
Vincent Demeester
2017-05-24 11:35:17 -07:00
committed by GitHub
@@ -10,6 +10,23 @@
<string>Dockerfile</string>
<key>patterns</key>
<array>
<dict>
<key>captures</key>
<dict>
<key>1</key>
<dict>
<key>name</key>
<string>keyword.other.special-method.dockerfile</string>
</dict>
<key>2</key>
<dict>
<key>name</key>
<string>keyword.other.special-method.dockerfile</string>
</dict>
</dict>
<key>match</key>
<string>^\s*\b(FROM)\b.*?\b(AS)\b</string>
</dict>
<dict>
<key>captures</key>
<dict>