mirror of
https://github.com/QL-Win/QuickLook.git
synced 2026-05-08 03:06:29 +08:00
Add ISON syntax definitions (Light/Dark)
https://github.com/ISON-format/ison
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<SyntaxDefinition name="ISON" extensions=".ison">
|
||||
|
||||
<Properties>
|
||||
<Property name="LineComment" value="#"/>
|
||||
</Properties>
|
||||
|
||||
<Digits name="Digits" color="#B5CEA8"/>
|
||||
|
||||
<RuleSets>
|
||||
<RuleSet ignorecase="false">
|
||||
|
||||
<Span name="Comment" stopateol="true" color="#6A9955" bold="false" italic="true">
|
||||
<Begin>#</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="String" stopateol="true" color="#CE9178" bold="false" italic="false" escapecharacter="\">
|
||||
<Begin>"</Begin>
|
||||
<End>"</End>
|
||||
</Span>
|
||||
|
||||
<KeyWords name="Section" color="#569CD6" bold="true" italic="false">
|
||||
<Key word="table"/>
|
||||
</KeyWords>
|
||||
|
||||
<KeyWords name="Boolean" color="#569CD6" bold="false" italic="false">
|
||||
<Key word="true"/>
|
||||
<Key word="false"/>
|
||||
</KeyWords>
|
||||
|
||||
<KeyWords name="Type" color="#C586C0" bold="false" italic="false">
|
||||
<Key word="int"/>
|
||||
<Key word="bool"/>
|
||||
<Key word="float"/>
|
||||
<Key word="number"/>
|
||||
<Key word="string"/>
|
||||
<Key word="date"/>
|
||||
<Key word="datetime"/>
|
||||
<Key word="decimal"/>
|
||||
</KeyWords>
|
||||
|
||||
</RuleSet>
|
||||
</RuleSets>
|
||||
</SyntaxDefinition>
|
||||
@@ -0,0 +1,45 @@
|
||||
<?xml version="1.0" encoding="utf-8" ?>
|
||||
|
||||
<SyntaxDefinition name="ISON" extensions=".ison">
|
||||
|
||||
<Properties>
|
||||
<Property name="LineComment" value="#"/>
|
||||
</Properties>
|
||||
|
||||
<Digits name="Digits" color="#B00000"/>
|
||||
|
||||
<RuleSets>
|
||||
<RuleSet ignorecase="false">
|
||||
|
||||
<Span name="Comment" stopateol="true" color="#008000" bold="false" italic="true">
|
||||
<Begin>#</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="String" stopateol="true" color="#705711" bold="false" italic="false" escapecharacter="\">
|
||||
<Begin>"</Begin>
|
||||
<End>"</End>
|
||||
</Span>
|
||||
|
||||
<KeyWords name="Section" color="#0000FF" bold="true" italic="false">
|
||||
<Key word="table"/>
|
||||
</KeyWords>
|
||||
|
||||
<KeyWords name="Boolean" color="#0000FF" bold="false" italic="false">
|
||||
<Key word="true"/>
|
||||
<Key word="false"/>
|
||||
</KeyWords>
|
||||
|
||||
<KeyWords name="Type" color="#800080" bold="false" italic="false">
|
||||
<Key word="int"/>
|
||||
<Key word="bool"/>
|
||||
<Key word="float"/>
|
||||
<Key word="number"/>
|
||||
<Key word="string"/>
|
||||
<Key word="date"/>
|
||||
<Key word="datetime"/>
|
||||
<Key word="decimal"/>
|
||||
</KeyWords>
|
||||
|
||||
</RuleSet>
|
||||
</RuleSets>
|
||||
</SyntaxDefinition>
|
||||
Reference in New Issue
Block a user