github.com/iaintshine/docker@v1.8.2/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 </list> 27 28 <contexts> 29 <context name="normal" attribute="Normal" lineEndContext="#stay"> 30 <DetectSpaces/> 31 <DetectChar attribute="Comment" context="Comment" char="#"/> 32 <keyword attribute="Keyword" context="#stay" String="keywords"/> 33 <DetectIdentifier/> 34 <DetectChar attribute="String" context="string"" char="""/> 35 <DetectChar attribute="String" context="string'" char="'"/> 36 </context> 37 38 <context attribute="Comment" lineEndContext="#pop" name="Comment"> 39 <LineContinue attribute="Comment" context="#stay" /> 40 </context> 41 42 <context name="string"" attribute="String" lineEndContext="#pop"> 43 <LineContinue attribute="Operator" context="#stay"/> 44 <DetectChar attribute="String" context="#pop" char="""/> 45 <DetectChar attribute="Operator" context="dollar" char="$"/> 46 </context> 47 48 <context name="string'" attribute="String" lineEndContext="#pop"> 49 <LineContinue attribute="String" context="#stay"/> 50 <DetectChar attribute="String" context="#pop" char="'"/> 51 <DetectChar attribute="Operator" context="dollar" char="$"/> 52 </context> 53 54 </contexts> 55 <itemDatas> 56 <itemData name="Normal" defStyleNum="dsNormal" spellChecking="0"/> 57 <itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="0"/> 58 <itemData name="Comment" defStyleNum="dsComment"/> 59 <itemData name="String" defStyleNum="dsString" spellChecking="0"/> 60 </itemDatas> 61 </highlighting> 62 <general> 63 <comments> 64 <comment name = "singleLine" start = "#"/> 65 </comments> 66 </general> 67 </language> 68 <!-- kate: space-indent on; indent-width 2; replace-tabs on; --> 69