github.com/circular-dark/docker@v1.7.0/contrib/syntax/textmate/Docker.tmbundle/Syntaxes/Dockerfile.tmLanguage (about)

     1  <?xml version="1.0" encoding="UTF-8"?>
     2  <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
     3  <plist version="1.0">
     4  <dict>
     5  	<key>name</key>
     6  	<string>Dockerfile</string>
     7  	<key>fileTypes</key>
     8  	<array>
     9  		<string>Dockerfile</string>
    10  	</array>
    11  	<key>patterns</key>
    12  	<array>
    13  		<dict>
    14  			<key>match</key>
    15  			<string>^\s*(ONBUILD\s+)?(FROM|MAINTAINER|RUN|EXPOSE|ENV|ADD|VOLUME|USER|LABEL|WORKDIR|COPY)\s</string>
    16  			<key>captures</key>
    17  			<dict>
    18  				<key>0</key>
    19  				<dict>
    20  					<key>name</key>
    21  					<string>keyword.control.dockerfile</string>
    22  				</dict>
    23  				<key>1</key>
    24  				<dict>
    25  					<key>name</key>
    26  					<string>keyword.other.special-method.dockerfile</string>
    27  				</dict>
    28  			</dict>
    29  		</dict>
    30  		<dict>
    31  			<key>match</key>
    32  			<string>^\s*(ONBUILD\s+)?(CMD|ENTRYPOINT)\s</string>
    33  			<key>captures</key>
    34  			<dict>
    35  				<key>0</key>
    36  				<dict>
    37  					<key>name</key>
    38  					<string>keyword.operator.dockerfile</string>
    39  				</dict>
    40  				<key>1</key>
    41  				<dict>
    42  					<key>name</key>
    43  					<string>keyword.other.special-method.dockerfile</string>
    44  				</dict>
    45  			</dict>
    46  		</dict>
    47  		<dict>
    48  			<key>begin</key>
    49  			<string>"</string>
    50  			<key>end</key>
    51  			<string>"</string>
    52  			<key>name</key>
    53  			<string>string.quoted.double.dockerfile</string>
    54  			<key>patterns</key>
    55  			<array>
    56  				<dict>
    57  					<key>match</key>
    58  					<string>\\.</string>
    59  					<key>name</key>
    60  					<string>constant.character.escaped.dockerfile</string>
    61  				</dict>
    62  			</array>
    63  		</dict>
    64  		<dict>
    65  			<key>begin</key>
    66  			<string>'</string>
    67  			<key>end</key>
    68  			<string>'</string>
    69  			<key>name</key>
    70  			<string>string.quoted.single.dockerfile</string>
    71  			<key>patterns</key>
    72  			<array>
    73  				<dict>
    74  					<key>match</key>
    75  					<string>\\.</string>
    76  					<key>name</key>
    77  					<string>constant.character.escaped.dockerfile</string>
    78  				</dict>
    79  			</array>
    80  		</dict>
    81  		<dict>
    82  			<key>match</key>
    83  			<string>^\s*#.*$</string>
    84  			<key>name</key>
    85  			<string>comment.block.dockerfile</string>
    86  		</dict>
    87  	</array>
    88  	<key>scopeName</key>
    89  	<string>source.dockerfile</string>
    90  	<key>uuid</key>
    91  	<string>a39d8795-59d2-49af-aa00-fe74ee29576e</string>
    92  </dict>
    93  </plist>