| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<!DOCTYPE language> |
| 3 |
<language name="INI Files" section="Configuration" extensions="*.ini;*.cfg;*.pls;*.kcfgc;.gitattributes*;.gitconfig*;.gitmodules*;.editorconfig*" mimetype="" version="13" kateversion="5.0" author="Jan Janssen ([email protected])" license="LGPL" priority="1"> |
| 4 |
|
| 5 |
<highlighting> |
| 6 |
<list name="keywords"> |
| 7 |
<item>On</item> |
| 8 |
<item>Off</item> |
| 9 |
<item>Default</item> |
| 10 |
<item>Defaults</item> |
| 11 |
<item>Localhost</item> |
| 12 |
<item>Null</item> |
| 13 |
<item>True</item> |
| 14 |
<item>False</item> |
| 15 |
<item>Yes</item> |
| 16 |
<item>No</item> |
| 17 |
<item>Normal</item> |
| 18 |
|
| 19 |
<!-- PHP Keywords --> |
| 20 |
<item>E_ALL</item> |
| 21 |
<item>E_ERROR</item> |
| 22 |
<item>E_WARNING</item> |
| 23 |
<item>E_PARSE</item> |
| 24 |
<item>E_NOTICE</item> |
| 25 |
<item>E_STRICT</item> |
| 26 |
<item>E_CORE_ERROR</item> |
| 27 |
<item>E_CORE_WARNING</item> |
| 28 |
<item>E_COMPILE_ERROR</item> |
| 29 |
<item>E_COMPILE_WARNING</item> |
| 30 |
<item>E_USER_ERROR</item> |
| 31 |
<item>E_USER_WARNING</item> |
| 32 |
<item>E_USER_NOTICE</item> |
| 33 |
</list> |
| 34 |
|
| 35 |
<contexts> |
| 36 |
<context name="ini" attribute="Normal Text" lineEndContext="#stay"> |
| 37 |
<RangeDetect attribute="Section" context="#stay" char="[" char1="]" beginRegion="Section" endRegion="Section" /> |
| 38 |
<DetectChar attribute="Assignment" context="Value" char="=" /> |
| 39 |
<AnyChar String=";#" attribute="Comment" context="Comment" firstNonSpace="true" /> |
| 40 |
<DetectIdentifier /> |
| 41 |
<DetectSpaces /> |
| 42 |
</context> |
| 43 |
|
| 44 |
<context name="Value" attribute="Value" lineEndContext="#pop" fallthrough="1" fallthroughContext="#pop!NormalValue"> |
| 45 |
<RegExpr context="#pop!SpecialValue" String="\s*((-?(\d+(\.\d*)?|\.d+)(e\d+)?|On|Off|Defaults?|Localhost|Null|True|False|Yes|No|Normal)\s*$|~?(E_ALL|E_ERROR|E_WARNING|E_PARSE|E_NOTICE|E_STRICT|E_CORE_ERROR|E_CORE_WARNING|E_COMPILE_ERROR|E_COMPILE_WARNING|E_USER_ERROR|E_USER_WARNING|E_USER_NOTICE)\b)" lookAhead="1" insensitive="1"/> |
| 46 |
</context> |
| 47 |
|
| 48 |
<context name="SpecialValue" attribute="Value" lineEndContext="#pop"> |
| 49 |
<Float attribute="Float" /> |
| 50 |
<Int attribute="Int" /> |
| 51 |
<keyword attribute="Keyword" String="keywords"/> |
| 52 |
<DetectChar attribute="Int" char="-" /> |
| 53 |
<DetectSpaces /> |
| 54 |
</context> |
| 55 |
|
| 56 |
<context name="NormalValue" attribute="Value" lineEndContext="#pop"> |
| 57 |
</context> |
| 58 |
|
| 59 |
<context name="Comment" attribute="Comment" lineEndContext="#pop"> |
| 60 |
<DetectSpaces /> |
| 61 |
<IncludeRules context="##Comments" /> |
| 62 |
<DetectIdentifier /> |
| 63 |
</context> |
| 64 |
</contexts> |
| 65 |
|
| 66 |
|
| 67 |
<itemDatas> |
| 68 |
<itemData name="Normal Text" defStyleNum="dsDataType" spellChecking="false"/> |
| 69 |
<itemData name="Section" defStyleNum="dsKeyword" spellChecking="false"/> |
| 70 |
<itemData name="Comment" defStyleNum="dsComment"/> |
| 71 |
<itemData name="Assignment" defStyleNum="dsOthers" spellChecking="false"/> |
| 72 |
<itemData name="Value" defStyleNum="dsString" spellChecking="false"/> |
| 73 |
<itemData name="Float" defStyleNum="dsFloat" spellChecking="false"/> |
| 74 |
<itemData name="Int" defStyleNum="dsDecVal" spellChecking="false"/> |
| 75 |
<itemData name="Keyword" defStyleNum="dsKeyword" spellChecking="false"/> |
| 76 |
</itemDatas> |
| 77 |
</highlighting> |
| 78 |
|
| 79 |
|
| 80 |
<general> |
| 81 |
<comments> |
| 82 |
<comment name="singleLine" start=";" /> |
| 83 |
</comments> |
| 84 |
<keywords casesensitive="0" /> |
| 85 |
</general> |
| 86 |
|
| 87 |
</language> |
| 88 |
<!-- kate: replace-tabs on; indent-width 1; --> |