mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-15 04:39:07 +00:00
Add .gitignore syntax highlighting
This commit is contained in:
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<SyntaxDefinition name="GitIgnore" extensions=".gitignore">
|
||||
|
||||
<Environment>
|
||||
<Default color="#D4D4D4" bgcolor="#1E1E1E"/>
|
||||
<Selection color="#1E1E1E" bgcolor="#264F78"/>
|
||||
<LineNumbers color="#858585" bgcolor="#1E1E1E"/>
|
||||
<CaretMarker color="#AEAFAD"/>
|
||||
<VRuler color="#2A2A2A"/>
|
||||
|
||||
<FoldLine color="#858585" bgcolor="#1E1E1E"/>
|
||||
<FoldMarker color="#D4D4D4" bgcolor="#1E1E1E"/>
|
||||
<SelectedFoldLine color="#D4D4D4" bgcolor="#1E1E1E"/>
|
||||
|
||||
<EOLMarkers color="#404040"/>
|
||||
<SpaceMarkers color="#404040"/>
|
||||
<TabMarkers color="#404040"/>
|
||||
<InvalidLines color="#404040"/>
|
||||
</Environment>
|
||||
|
||||
<Properties>
|
||||
<Property name="LineComment" value=";"/>
|
||||
</Properties>
|
||||
|
||||
<Digits name="Digits" color="#B5CEA8"/>
|
||||
|
||||
<RuleSets>
|
||||
<RuleSet ignorecase="false">
|
||||
|
||||
<Delimiters>&|\/"',;=:-</Delimiters>
|
||||
|
||||
<Span name="LineComment1" stopateol="true" color="#608B4E" bold="false" italic="false">
|
||||
<Begin>;</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="LineComment2" stopateol="true" color="#608B4E" bold="false" italic="false">
|
||||
<Begin>#</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="Negation" stopateol="true" color="#D7BA7D" bold="true" italic="false">
|
||||
<Begin startofline="true">!</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="String" stopateol="true" color="#CE9178" bold="false" italic="false" escapecharacter="\">
|
||||
<Begin>"</Begin>
|
||||
<End>"</End>
|
||||
</Span>
|
||||
|
||||
<Span name="Variable" stopateol="true" color="#569CD6" bold="true" italic="false">
|
||||
<Begin startofline="true">[</Begin>
|
||||
<End>]</End>
|
||||
</Span>
|
||||
|
||||
<MarkPrevious color="#C586C0" bold="false" italic="false">=</MarkPrevious>
|
||||
</RuleSet>
|
||||
</RuleSets>
|
||||
</SyntaxDefinition>
|
@@ -0,0 +1,58 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<SyntaxDefinition name="GitIgnore" extensions=".gitignore">
|
||||
|
||||
<Environment>
|
||||
<Default color="Black" bgcolor="#FFFFFF"/>
|
||||
<Selection color="Black" bgcolor="#C3C3FF"/>
|
||||
<LineNumbers color="Gray" bgcolor="#FFFFFF"/>
|
||||
<CaretMarker color="#F0F0F1"/>
|
||||
<VRuler color="#E0E0E5"/>
|
||||
|
||||
<FoldLine color="#A0A0A0" bgcolor="#FFFFFF"/>
|
||||
<FoldMarker color="Black" bgcolor="#FFFFFF"/>
|
||||
<SelectedFoldLine color="Black" bgcolor="#FFFFFF"/>
|
||||
|
||||
<EOLMarkers color="#CACAD2"/>
|
||||
<SpaceMarkers color="#B6B6C0"/>
|
||||
<TabMarkers color="#B6B6C0"/>
|
||||
<InvalidLines color="#B6B6C0"/>
|
||||
</Environment>
|
||||
|
||||
<Properties>
|
||||
<Property name="LineComment" value=";"/>
|
||||
</Properties>
|
||||
|
||||
<Digits name="Digits" color="Black"/>
|
||||
|
||||
<RuleSets>
|
||||
<RuleSet ignorecase="false">
|
||||
|
||||
<Delimiters>&|\/"',;=:-</Delimiters>
|
||||
|
||||
<Span name="LineComment1" stopateol="true" color="Green" bold="false" italic="false">
|
||||
<Begin>;</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="LineComment2" stopateol="true" color="Green" bold="false" italic="false">
|
||||
<Begin>#</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="Negation" stopateol="true" color="#D18616" bold="true" italic="false">
|
||||
<Begin startofline="true">!</Begin>
|
||||
</Span>
|
||||
|
||||
<Span name="String" stopateol="true" color="#808080" bold="false" italic="false" escapecharacter="\">
|
||||
<Begin>"</Begin>
|
||||
<End>"</End>
|
||||
</Span>
|
||||
|
||||
<Span name="Variable" stopateol="true" color="Blue" bold="true" italic="false">
|
||||
<Begin startofline="true">[</Begin>
|
||||
<End>]</End>
|
||||
</Span>
|
||||
|
||||
<MarkPrevious color="Purple" bold="false" italic="false">=</MarkPrevious>
|
||||
</RuleSet>
|
||||
</RuleSets>
|
||||
</SyntaxDefinition>
|
Reference in New Issue
Block a user