diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-09-19 14:44:45 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2014-09-19 14:44:45 +0900 |
commit | 87fd132d0145d36d9eae9cdf521935202db228f7 (patch) | |
tree | 8e8126d831ffd90f38c34e49cdaec9b134086a8a /kate/data/dockerfile.xml | |
parent | 2824570e9e6581acc1b9ed81a8889ff5f58dd383 (diff) | |
download | tdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.tar.gz tdelibs-87fd132d0145d36d9eae9cdf521935202db228f7.zip |
Kate syntax highlighting files update - Sep 2014
Diffstat (limited to 'kate/data/dockerfile.xml')
-rw-r--r-- | kate/data/dockerfile.xml | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/kate/data/dockerfile.xml b/kate/data/dockerfile.xml new file mode 100644 index 000000000..3e90ee24d --- /dev/null +++ b/kate/data/dockerfile.xml @@ -0,0 +1,61 @@ +<?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> +<!-- kate: space-indent on; indent-width 2; replace-tabs on; --> + |