mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
23 lines
No EOL
557 B
YAML
23 lines
No EOL
557 B
YAML
# [PackageDev] target_format: plist, ext: tmLanguage
|
|
---
|
|
name: Dockerfile
|
|
scopeName: source.dockerfile
|
|
uuid: a39d8795-59d2-49af-aa00-fe74ee29576e
|
|
|
|
patterns:
|
|
# Keywords
|
|
- name: keyword.control.dockerfile
|
|
match: ^\s*(FROM|MAINTAINER|RUN|CMD|EXPOSE|ENV|ADD)\s
|
|
- name: keyword.operator.dockerfile
|
|
match: ^\s*(ENTRYPOINT|VOLUME|USER|WORKDIR)\s
|
|
# String
|
|
- name: string.quoted.double.dockerfile
|
|
begin: "\""
|
|
end: "\""
|
|
patterns:
|
|
- name: constant.character.escaped.dockerfile
|
|
match: \\.
|
|
# Comment
|
|
- name: comment.block.dockerfile
|
|
match: ^\s*#.*$
|
|
... |