-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
80 additions
and
224 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
73 changes: 73 additions & 0 deletions
73
QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/JSON.xshd
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
|
||
<SyntaxDefinition name="Json" extensions=".json" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008"> | ||
<Color name="Bool" foreground="#569CD6" exampleText="true | false" /> | ||
<Color name="Number" foreground="#B5CEA8" exampleText="3.14" /> | ||
<Color name="String" foreground="#CE9178" exampleText="" /> | ||
<Color name="Null" foreground="#569CD6" exampleText="" /> | ||
<Color name="FieldName" foreground="#9CDCF0" /> | ||
<Color name="Punctuation1" foreground="#DA66BE" /> | ||
<Color name="Punctuation2" foreground="#FFD710" /> | ||
<Color name="Punctuation3" foreground="#FFFFFF" /> | ||
|
||
<RuleSet name="String"> | ||
<Span begin="\\" end="."/> | ||
</RuleSet> | ||
|
||
<RuleSet name="Object"> | ||
<Span color="FieldName" ruleSet="String"> | ||
<Begin>"</Begin> | ||
<End>"</End> | ||
</Span> | ||
<Span color="FieldName" ruleSet="String"> | ||
<Begin>'</Begin> | ||
<End>'</End> | ||
</Span> | ||
<Span color="Punctuation3" ruleSet="Expression"> | ||
<Begin>:</Begin> | ||
</Span> | ||
<Span color="Punctuation3"> | ||
<Begin>,</Begin> | ||
</Span> | ||
</RuleSet> | ||
|
||
<RuleSet name="Array"> | ||
<Import ruleSet="Expression"/> | ||
<Span color="Punctuation3"> | ||
<Begin>,</Begin> | ||
</Span> | ||
</RuleSet> | ||
|
||
<RuleSet name="Expression"> | ||
<Keywords color="Bool" > | ||
<Word>true</Word> | ||
<Word>false</Word> | ||
</Keywords> | ||
<Keywords color="Null" > | ||
<Word>null</Word> | ||
</Keywords> | ||
<Span color="String" ruleSet="String"> | ||
<Begin>"</Begin> | ||
<End>"</End> | ||
</Span> | ||
<Span color="String" ruleSet="String"> | ||
<Begin>'</Begin> | ||
<End>'</End> | ||
</Span> | ||
<Span color="Punctuation1" ruleSet="Object" multiline="true"> | ||
<Begin>\{</Begin> | ||
<End>\}</End> | ||
</Span> | ||
<Span color="Punctuation2" ruleSet="Array" multiline="true"> | ||
<Begin>\[</Begin> | ||
<End>\]</End> | ||
</Span> | ||
<Rule color="Number"> | ||
\b0[xX][0-9a-fA-F]+|(\b\d+(\.[0-9]+)?|\.[0-9]+)([eE][+-]?[0-9]+)? | ||
</Rule> | ||
</RuleSet> | ||
|
||
<RuleSet> | ||
<Import ruleSet="Expression"/> | ||
</RuleSet> | ||
</SyntaxDefinition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ [email protected] | |
https://github.com/ei | ||
--> | ||
|
||
<SyntaxDefinition name="Assembly" extensions=".asm;.ASM"> | ||
<SyntaxDefinition name="Assembly" extensions=".asm"> | ||
|
||
<Environment> | ||
<Default color="Black" bgcolor="#FFFFFF"/> | ||
|
21 changes: 0 additions & 21 deletions
21
QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/_LICENSE
This file was deleted.
Oops, something went wrong.
198 changes: 0 additions & 198 deletions
198
QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/_README.md
This file was deleted.
Oops, something went wrong.