mirror of
https://github.com/QL-Win/QuickLook.git
synced 2025-09-10 17:29:08 +00:00
142 lines
4.7 KiB
XML
142 lines
4.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!--
|
|
Go syntax highlighting
|
|
Written by Ezra Altahan
|
|
Created 03/02/2016 | Updated 16/10/2016
|
|
Version 1.0
|
|
|
|
hello@exr.be
|
|
https://github.com/ei
|
|
-->
|
|
|
|
<SyntaxDefinition name="Go" extensions=".go">
|
|
|
|
<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="//"/>
|
|
<Property name="BlockCommentBegin" value="/*"/>
|
|
<Property name="BlockCommentEnd" value="*/"/>
|
|
</Properties>
|
|
|
|
<Digits name="Digits" color="#A0911F"/>
|
|
|
|
<RuleSets>
|
|
<RuleSet ignorecase="false">
|
|
|
|
<Delimiters>()[]{}@,.:`=;+-*%~ &|^><</Delimiters>
|
|
|
|
<Span name="LineComment" stopateol="true" color="Green" bold="false" italic="false">
|
|
<Begin>//</Begin>
|
|
</Span>
|
|
|
|
<Span name="BlockComment" stopateol="false" color="Green" bold="false" italic="false">
|
|
<Begin>/*</Begin>
|
|
<End>*/</End>
|
|
</Span>
|
|
|
|
<Span name="String" stopateol="false" color="Maroon" bold="false" italic="false" escapecharacter="\">
|
|
<Begin>"</Begin>
|
|
<End>"</End>
|
|
</Span>
|
|
|
|
<Span name="Char" stopateol="true" color="Maroon" bold="false" italic="false">
|
|
<Begin>'</Begin>
|
|
<End>'</End>
|
|
</Span>
|
|
|
|
<KeyWords name="Keywords1" color="Blue" bold="false">
|
|
<Key word="break"/>
|
|
<Key word="case"/>
|
|
<Key word="chan"/>
|
|
<Key word="const"/>
|
|
<Key word="continue"/>
|
|
<Key word="default"/>
|
|
<Key word="defer"/>
|
|
<Key word="delete"/>
|
|
<Key word="else"/>
|
|
<Key word="fallthrough"/>
|
|
<Key word="false"/>
|
|
<Key word="for"/>
|
|
<Key word="func"/>
|
|
<Key word="go"/>
|
|
<Key word="goto"/>
|
|
<Key word="if"/>
|
|
<Key word="import"/>
|
|
<Key word="interface"/>
|
|
<Key word="iota"/>
|
|
<Key word="map"/>
|
|
<Key word="nil"/>
|
|
<Key word="package"/>
|
|
<Key word="range"/>
|
|
<Key word="return"/>
|
|
<Key word="select"/>
|
|
<Key word="struct"/>
|
|
<Key word="switch"/>
|
|
<Key word="true"/>
|
|
<Key word="type"/>
|
|
<Key word="var"/>
|
|
</KeyWords>
|
|
|
|
<KeyWords name="Keywords2" color="#804040" bold="false">
|
|
<Key word="append"/>
|
|
<Key word="cap"/>
|
|
<Key word="close"/>
|
|
<Key word="closed"/>
|
|
<Key word="copy"/>
|
|
<Key word="imag"/>
|
|
<Key word="len"/>
|
|
<Key word="main"/>
|
|
<Key word="make"/>
|
|
<Key word="new"/>
|
|
<Key word="panic"/>
|
|
<Key word="print"/>
|
|
<Key word="println"/>
|
|
<Key word="real"/>
|
|
<Key word="recover"/>
|
|
</KeyWords>
|
|
|
|
<KeyWords name="Keywords3" color="Teal" bold="false">
|
|
<Key word="bool"/>
|
|
<Key word="byte"/>
|
|
<Key word="complex"/>
|
|
<Key word="complex128"/>
|
|
<Key word="complex64"/>
|
|
<Key word="error"/>
|
|
<Key word="float"/>
|
|
<Key word="float32"/>
|
|
<Key word="float64"/>
|
|
<Key word="int"/>
|
|
<Key word="int16"/>
|
|
<Key word="int32"/>
|
|
<Key word="int64"/>
|
|
<Key word="int8"/>
|
|
<Key word="rune"/>
|
|
<Key word="string"/>
|
|
<Key word="uint"/>
|
|
<Key word="uint16"/>
|
|
<Key word="uint32"/>
|
|
<Key word="uint64"/>
|
|
<Key word="uint8"/>
|
|
<Key word="uintptr"/>
|
|
</KeyWords>
|
|
</RuleSet>
|
|
</RuleSets>
|
|
</SyntaxDefinition>
|