mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-01 18:35:13 +00:00
Add syntax highlighting for .gitattributes files
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<SyntaxDefinition name="GitAttributes" extensions=".gitattributes">
|
||||
|
||||
<Environment>
|
||||
<Default color="#D4D4D4" bgcolor="#1E1E1E"/>
|
||||
<Selection color="#1E1E1E" bgcolor="#264F78"/>
|
||||
<LineNumbers color="#858585" bgcolor="#1E1E1E"/>
|
||||
<CaretMarker color="#AEAFAD"/>
|
||||
</Environment>
|
||||
|
||||
<Properties>
|
||||
<Property name="LineComment" value="#"/>
|
||||
</Properties>
|
||||
|
||||
<Digits name="Digits" color="#B5CEA8"/>
|
||||
|
||||
<RuleSets>
|
||||
<RuleSet ignorecase="false">
|
||||
|
||||
<Delimiters>&|\/"',;=:-</Delimiters>
|
||||
|
||||
<Span name="LineComment" stopateol="true" color="#608B4E" bold="false" italic="false">
|
||||
<Begin>#</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="MacroDefinition" stopateol="true" color="#569CD6" bold="true" italic="false">
|
||||
<Begin startofline="true">[attr]</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="String" stopateol="true" color="#CE9178" bold="false" italic="false" escapecharacter="\">
|
||||
<Begin>"</Begin>
|
||||
<End>"</End>
|
||||
</Span>
|
||||
|
||||
<KeyWords name="GitAttributes" color="#4FC1FF" bold="false" italic="false">
|
||||
<Key word="text"/>
|
||||
<Key word="binary"/>
|
||||
<Key word="diff"/>
|
||||
<Key word="merge"/>
|
||||
<Key word="filter"/>
|
||||
<Key word="eol"/>
|
||||
<Key word="ident"/>
|
||||
<Key word="working-tree-encoding"/>
|
||||
<Key word="export-ignore"/>
|
||||
<Key word="export-subst"/>
|
||||
<Key word="delta"/>
|
||||
<Key word="linguist-detectable"/>
|
||||
<Key word="linguist-documentation"/>
|
||||
<Key word="linguist-generated"/>
|
||||
<Key word="linguist-language"/>
|
||||
<Key word="linguist-vendored"/>
|
||||
</KeyWords>
|
||||
|
||||
<KeyWords name="AttributeValues" color="#B5CEA8" bold="false" italic="false">
|
||||
<Key word="auto"/>
|
||||
<Key word="true"/>
|
||||
<Key word="false"/>
|
||||
<Key word="lf"/>
|
||||
<Key word="crlf"/>
|
||||
<Key word="native"/>
|
||||
</KeyWords>
|
||||
</RuleSet>
|
||||
</RuleSets>
|
||||
</SyntaxDefinition>
|
@@ -0,0 +1,65 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<SyntaxDefinition name="GitAttributes" extensions=".gitattributes">
|
||||
|
||||
<Environment>
|
||||
<Default color="#000000" bgcolor="#FFFFFF"/>
|
||||
<Selection color="#FFFFFF" bgcolor="#0078D4"/>
|
||||
<LineNumbers color="#2B91AF" bgcolor="#FFFFFF"/>
|
||||
<CaretMarker color="#000000"/>
|
||||
</Environment>
|
||||
|
||||
<Properties>
|
||||
<Property name="LineComment" value="#"/>
|
||||
</Properties>
|
||||
|
||||
<Digits name="Digits" color="#098658"/>
|
||||
|
||||
<RuleSets>
|
||||
<RuleSet ignorecase="false">
|
||||
|
||||
<Delimiters>&|\/"',;=:-</Delimiters>
|
||||
|
||||
<Span name="LineComment" stopateol="true" color="#008000" bold="false" italic="false">
|
||||
<Begin>#</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="MacroDefinition" stopateol="true" color="#0000FF" bold="true" italic="false">
|
||||
<Begin startofline="true">[attr]</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="String" stopateol="true" color="#A31515" bold="false" italic="false" escapecharacter="\">
|
||||
<Begin>"</Begin>
|
||||
<End>"</End>
|
||||
</Span>
|
||||
|
||||
<KeyWords name="GitAttributes" color="#0000FF" bold="false" italic="false">
|
||||
<Key word="text"/>
|
||||
<Key word="binary"/>
|
||||
<Key word="diff"/>
|
||||
<Key word="merge"/>
|
||||
<Key word="filter"/>
|
||||
<Key word="eol"/>
|
||||
<Key word="ident"/>
|
||||
<Key word="working-tree-encoding"/>
|
||||
<Key word="export-ignore"/>
|
||||
<Key word="export-subst"/>
|
||||
<Key word="delta"/>
|
||||
<Key word="linguist-detectable"/>
|
||||
<Key word="linguist-documentation"/>
|
||||
<Key word="linguist-generated"/>
|
||||
<Key word="linguist-language"/>
|
||||
<Key word="linguist-vendored"/>
|
||||
</KeyWords>
|
||||
|
||||
<KeyWords name="AttributeValues" color="#098658" bold="false" italic="false">
|
||||
<Key word="auto"/>
|
||||
<Key word="true"/>
|
||||
<Key word="false"/>
|
||||
<Key word="lf"/>
|
||||
<Key word="crlf"/>
|
||||
<Key word="native"/>
|
||||
</KeyWords>
|
||||
</RuleSet>
|
||||
</RuleSets>
|
||||
</SyntaxDefinition>
|
Reference in New Issue
Block a user