You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
60 lines
2.2 KiB
60 lines
2.2 KiB
10 years ago
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!DOCTYPE language SYSTEM "language.dtd">
|
||
|
<!-- Dockerfile syntaxfile v1.0 by James Turnbull <james@lovedthanlost.net> -->
|
||
|
<language name="Dockerfile" section="Other" version="1.1" kateversion="2.4" extensions="Dockerfile" author="James Turnbull (james@lovedthanlost.net)" license="LGPLv2+">
|
||
|
<highlighting>
|
||
|
<list name="keywords">
|
||
|
<item> FROM </item>
|
||
|
<item> MAINTAINER </item>
|
||
|
<item> ENV </item>
|
||
|
<item> RUN </item>
|
||
|
<item> ONBUILD </item>
|
||
|
<item> COPY </item>
|
||
|
<item> ADD </item>
|
||
|
<item> VOLUME </item>
|
||
|
<item> EXPOSE </item>
|
||
|
<item> ENTRYPOINT </item>
|
||
|
<item> CMD </item>
|
||
|
<item> WORKDIR </item>
|
||
|
<item> USER </item>
|
||
|
</list>
|
||
|
|
||
|
<contexts>
|
||
|
<context name="normal" attribute="Normal" lineEndContext="#stay">
|
||
|
<DetectSpaces/>
|
||
|
<DetectChar attribute="Comment" context="Comment" char="#"/>
|
||
|
<keyword attribute="Keyword" context="#stay" String="keywords"/>
|
||
|
<DetectIdentifier/>
|
||
|
<DetectChar attribute="String" context="string"" char="""/>
|
||
|
<DetectChar attribute="String" context="string'" char="'"/>
|
||
|
</context>
|
||
|
|
||
|
<context attribute="Comment" lineEndContext="#pop" name="Comment">
|
||
|
<LineContinue attribute="Comment" context="#stay" />
|
||
|
</context>
|
||
|
|
||
|
<context name="string"" attribute="String" lineEndContext="#pop">
|
||
|
<LineContinue attribute="Operator" context="#stay"/>
|
||
|
<DetectChar attribute="String" context="#pop" char="""/>
|
||
|
</context>
|
||
|
|
||
|
<context name="string'" attribute="String" lineEndContext="#pop">
|
||
|
<LineContinue attribute="String" context="#stay"/>
|
||
|
<DetectChar attribute="String" context="#pop" char="'"/>
|
||
|
</context>
|
||
|
|
||
|
</contexts>
|
||
|
<itemDatas>
|
||
|
<itemData name="Normal" defStyleNum="dsNormal" spellChecking="0"/>
|
||
|
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/>
|
||
|
<itemData name="Comment" defStyleNum="dsComment"/>
|
||
|
<itemData name="String" defStyleNum="dsString" spellChecking="0"/>
|
||
|
</itemDatas>
|
||
|
</highlighting>
|
||
|
<general>
|
||
|
<comments>
|
||
|
<comment name = "singleLine" start = "#"/>
|
||
|
</comments>
|
||
|
</general>
|
||
|
</language>
|