Skip to content
This repository was archived by the owner on Sep 15, 2025. It is now read-only.

Commit d4cde6a

Browse files
Adding Docker 1.12 instructions to its grammar
This simply updates the Docker grammar to include the `HEALTHCHECK` and `SHELL` commands that were added to Docker 1.12, and were added to the [grammar file](https://github.com/docker/docker/blob/4cb71f80823af345d063cf0ad657e73ce9caa75f/contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage) which VS Code's copy is based on.
1 parent 8bb90a3 commit d4cde6a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

extensions/docker/syntaxes/Dockerfile.tmLanguage

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
</dict>
2626
</dict>
2727
<key>match</key>
28-
<string>^\s*(?:(ONBUILD)\s+)?(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|VOLUME|USER|WORKDIR|COPY|LABEL|STOPSIGNAL|ARG)\s</string>
28+
<string>^\s*(?:(ONBUILD)\s+)?(ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)\s</string>
2929
</dict>
3030
<dict>
3131
<key>captures</key>
@@ -140,4 +140,4 @@
140140
<key>uuid</key>
141141
<string>a39d8795-59d2-49af-aa00-fe74ee29576e</string>
142142
</dict>
143-
</plist>
143+
</plist>

0 commit comments

Comments
 (0)