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