github.com/reds/docker@v1.11.2-rc1/contrib/syntax/kate/Dockerfile.xml (about) 1 <?xml version="1.0" encoding="UTF-8"?> 2 <!DOCTYPE language SYSTEM "language.dtd"> 3 <!-- Dockerfile syntaxfile v1.0 by James Turnbull <james@lovedthanlost.net> --> 4 <language name="Dockerfile" section="Other" 5 version="1.0" kateversion="2.4" 6 extensions="Dockerfile" 7 mimetype="text/plain" 8 author="James Turnbull (james@lovedthanlost.net)" 9 license="GPL"> 10 <highlighting> 11 <list name="keywords"> 12 <item> FROM </item> 13 <item> MAINTAINER </item> 14 <item> ENV </item> 15 <item> RUN </item> 16 <item> ONBUILD </item> 17 <item> COPY </item> 18 <item> ADD </item> 19 <item> VOLUME </item> 20 <item> EXPOSE </item> 21 <item> ENTRYPOINT </item> 22 <item> CMD </item> 23 <item> WORKDIR </item> 24 <item> USER </item> 25 <item> LABEL </item> 26 <item> STOPSIGNAL </item> 27 </list> 28 29 <contexts> 30 <context name="normal" attribute="Normal" lineEndContext="#stay"> 31 <DetectSpaces/> 32 <DetectChar attribute="Comment" context="Comment" char="#"/> 33 <keyword attribute="Keyword" context="#stay" String="keywords"/> 34 <DetectIdentifier/> 35 <DetectChar attribute="String" context="string"" char="""/> 36 <DetectChar attribute="String" context="string'" char="'"/> 37 </context> 38 39 <context attribute="Comment" lineEndContext="#pop" name="Comment"> 40 <LineContinue attribute="Comment" context="#stay" /> 41 </context> 42 43 <context name="string"" attribute="String" lineEndContext="#pop"> 44 <LineContinue attribute="Operator" context="#stay"/> 45 <DetectChar attribute="String" context="#pop" char="""/> 46 <DetectChar attribute="Operator" context="dollar" char="$"/> 47 </context> 48 49 <context name="string'" attribute="String" lineEndContext="#pop"> 50 <LineContinue attribute="String" context="#stay"/> 51 <DetectChar attribute="String" context="#pop" char="'"/> 52 <DetectChar attribute="Operator" context="dollar" char="$"/> 53 </context> 54 55 </contexts> 56 <itemDatas> 57 <itemData name="Normal" defStyleNum="dsNormal" spellChecking="0"/> 58 <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/> 59 <itemData name="Comment" defStyleNum="dsComment"/> 60 <itemData name="String" defStyleNum="dsString" spellChecking="0"/> 61 </itemDatas> 62 </highlighting> 63 <general> 64 <comments> 65 <comment name = "singleLine" start = "#"/> 66 </comments> 67 </general> 68 </language> 69 <!-- kate: space-indent on; indent-width 2; replace-tabs on; --> 70