27 lines
758 B
XML
27 lines
758 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<EdnLang version="0.1" lang="json">
|
|
<ext>*.json</ext>
|
|
<pass1><!-- multiline section & parse all file (now) and when modification retrive previous modification -->
|
|
<rule name="doubleQuteText">
|
|
<color>doubleQuoteText</color>
|
|
<start>"</start>
|
|
<end>"</end>
|
|
<EscapeChar>\</EscapeChar>
|
|
</rule>
|
|
</pass1>
|
|
<pass2> <!-- Parse on display data ==> nor regenerate every display but every time modification apear -->
|
|
<rule name="my keyword">
|
|
<color>keyword</color>
|
|
<start>\{|\}|\[|\]</start>
|
|
</rule>
|
|
<rule name="separator">
|
|
<color>error</color>
|
|
<start>:|,</start>
|
|
</rule>
|
|
<rule name="names">
|
|
<color>functionName</color>
|
|
<start>([a-zA-Z0-9]|-|_)*</start>
|
|
</rule>
|
|
</pass2>
|
|
</EdnLang>
|