diff options
Diffstat (limited to 'kate/data/debiancontrol.xml')
-rw-r--r-- | kate/data/debiancontrol.xml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/kate/data/debiancontrol.xml b/kate/data/debiancontrol.xml index 83fb40883..8c34c64ca 100644 --- a/kate/data/debiancontrol.xml +++ b/kate/data/debiancontrol.xml @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE language SYSTEM "language.dtd"> -<language name="Debian Control" version="0.83" kateversion="2.4" section="Other" extensions="control" mimetype=""> +<language name="Debian Control" version="0.84" kateversion="2.4" section="Other" extensions="control" mimetype=""> <highlighting> <contexts> <context attribute="Normal Text" lineEndContext="#stay" name="INIT"> @@ -16,12 +16,13 @@ <StringDetect attribute="Keyword" context="DependencyField" String="Build-Depends-Indep:"/> <StringDetect attribute="Keyword" context="DependencyField" String="Build-Conflicts:"/> <StringDetect attribute="Keyword" context="DependencyField" String="Build-Conflicts-Indep:"/> + <StringDetect attribute="Keyword" context="DependencyField" String="Breaks:"/> <RegExpr attribute="Keyword" context="Field" minimal="true" String="[^ ]*:" column="0"/> <DetectChar attribute="Value" context="Field" char=" " column="0"/> </context> <context attribute="Value" lineEndContext="#pop" name="Field"> - <RegExpr attribute="Email" context="#stay" String="<.*@.*>"/> + <RegExpr attribute="Email" context="#stay" String="<.*@.*>" minimal="true"/> <Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/> </context> @@ -30,7 +31,7 @@ </context> <context attribute="Value" lineEndContext="#pop" name="DependencyField"> - <RegExpr attribute="Email" context="#stay" String="<.*@.*>"/> + <RegExpr attribute="Email" context="#stay" String="<.*@.*>" minimal="true"/> <Detect2Chars attribute="Keyword" context="Variable" char="$" char1="{"/> <RegExpr attribute="Keyword" context="#stay" String="[,\|]"/> <DetectChar attribute="Keyword" context="Constrain" char="("/> @@ -56,6 +57,9 @@ </highlighting> <general> + <comments> + <comment name="singleLine" start="#"/> + </comments> <keywords casesensitive="1" /> </general> </language> |