Files
QuickLook/QuickLook.Plugin/QuickLook.Plugin.TextViewer/Syntax/Dark/Batch.xshd
ema 39ee2f6b00 Update Batch syntax highlighting colors
Adjusted colors for selection, caret, fold markers, markers, comments, labels, output, and keywords in the Batch.xshd file to improve readability and consistency with dark theme conventions.
2025-10-10 17:07:23 +08:00

207 lines
7.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<SyntaxDefinition name="Batch" extensions=".bat;.cmd;.dos">
<Environment>
<Default color="White" bgcolor="#000000"/>
<Selection color="#FFFFFF" bgcolor="#264F78"/>
<LineNumbers color="#A9A9A9" bgcolor="#000000"/>
<CaretMarker color="#FFFFFF"/>
<VRuler color="#808080"/>
<FoldLine color="#3C3C3C" bgcolor="#000000"/>
<FoldMarker color="#3C3C3C" bgcolor="#000000"/>
<SelectedFoldLine color="#3C3C3C" bgcolor="#000000"/>
<EOLMarkers color="#404040"/>
<SpaceMarkers color="#404040"/>
<TabMarkers color="#404040"/>
<InvalidLines color="#404040"/>
</Environment>
<Properties>
<Property name="LineComment" value="REM "/>
</Properties>
<Digits name="Digits" color="White" bold="false" italic="false"/>
<RuleSets>
<RuleSet ignorecase="true">
<Delimiters>@+*\/=|'&lt;&gt;?;</Delimiters>
<Span name="LineComment1" stopateol="true" color="#6A9955" bold="false" italic="false">
<Begin singleword="true">REM </Begin>
</Span>
<Span name="LineComment2" stopateol="true" color="#6A9955" bold="false" italic="false">
<Begin startofline="true">::</Begin>
</Span>
<Span name="Label" stopateol="true" color="#FF8800" bold="false" italic="false">
<Begin startofline="true">:</Begin>
</Span>
<Span name="Output" stopateol="true" color="#9CDCFE" bold="false" italic="false">
<Begin>echo</Begin>
</Span>
<KeyWords name="Keywords1" color="#569CD6" bold="false" italic="false">
<Key word="aux"/>
<Key word="baud"/>
<Key word="break"/>
<Key word="call"/>
<Key word="cd"/>
<Key word="chcp"/>
<Key word="chdir"/>
<Key word="choice"/>
<Key word="cls"/>
<Key word="cmdextversion"/>
<Key word="cols"/>
<Key word="com"/>
<Key word="con"/>
<Key word="copy"/>
<Key word="cp"/>
<Key word="cut"/>
<Key word="data"/>
<Key word="defined"/>
<Key word="del"/>
<Key word="delay"/>
<Key word="dir"/>
<Key word="do"/>
<Key word="dtr"/>
<Key word="echo"/>
<Key word="else"/>
<Key word="end"/>
<Key word="equ"/>
<Key word="erase"/>
<Key word="errorlevel"/>
<Key word="exist"/>
<Key word="exists"/>
<Key word="exit"/>
<Key word="for"/>
<Key word="geq"/>
<Key word="goto"/>
<Key word="gtr"/>
<Key word="hs"/>
<Key word="idsr"/>
<Key word="if"/>
<Key word="in"/>
<Key word="leq"/>
<Key word="lfnfor"/>
<Key word="lines"/>
<Key word="loadfix"/>
<Key word="loadhigh"/>
<Key word="lock"/>
<Key word="low"/>
<Key word="lpt"/>
<Key word="lpt1"/>
<Key word="lss"/>
<Key word="max"/>
<Key word="md"/>
<Key word="min"/>
<Key word="mkdir"/>
<Key word="move"/>
<Key word="neq"/>
<Key word="normal"/>
<Key word="not"/>
<Key word="nul"/>
<Key word="octs"/>
<Key word="odsr"/>
<Key word="off"/>
<Key word="on"/>
<Key word="parity"/>
<Key word="path"/>
<Key word="pause"/>
<Key word="pause"/>
<Key word="prn"/>
<Key word="prompt"/>
<Key word="rate"/>
<Key word="rd"/>
<Key word="realtime"/>
<Key word="ren"/>
<Key word="rename"/>
<Key word="rmd"/>
<Key word="rmdir"/>
<Key word="rts"/>
<Key word="select"/>
<Key word="separate"/>
<Key word="set"/>
<Key word="sgn"/>
<Key word="shared"/>
<Key word="shift"/>
<Key word="status"/>
<Key word="stop"/>
<Key word="tg"/>
<Key word="then"/>
<Key word="time"/>
<Key word="to"/>
<Key word="truename"/>
<Key word="type"/>
<Key word="unlock"/>
<Key word="ver"/>
<Key word="verify"/>
<Key word="verify"/>
<Key word="vol"/>
<Key word="wait"/>
<Key word="xon"/>
</KeyWords>
<KeyWords name="Keywords2" color="#4EC9B0" bold="false" italic="false">
<Key word="append"/>
<Key word="assoc"/>
<Key word="at"/>
<Key word="attrib"/>
<Key word="begin"/>
<Key word="cacls"/>
<Key word="chkdsk"/>
<Key word="chkntfs"/>
<Key word="cmd"/>
<Key word="color"/>
<Key word="comp"/>
<Key word="compact"/>
<Key word="convert"/>
<Key word="ctty"/>
<Key word="date"/>
<Key word="delims"/>
<Key word="diskcomp"/>
<Key word="diskcopy"/>
<Key word="doskey"/>
<Key word="enableextensions"/>
<Key word="endlocal"/>
<Key word="eol"/>
<Key word="fc"/>
<Key word="find"/>
<Key word="findstr"/>
<Key word="format"/>
<Key word="ftype"/>
<Key word="graftabl"/>
<Key word="help"/>
<Key word="keyb"/>
<Key word="label"/>
<Key word="mklink"/>
<Key word="mode"/>
<Key word="more"/>
<Key word="other"/>
<Key word="ping"/>
<Key word="popd"/>
<Key word="print"/>
<Key word="pushd"/>
<Key word="recover"/>
<Key word="replace"/>
<Key word="restore"/>
<Key word="setlocal"/>
<Key word="skip"/>
<Key word="sort"/>
<Key word="start"/>
<Key word="subst"/>
<Key word="title"/>
<Key word="tokens"/>
<Key word="tree"/>
<Key word="ttrib"/>
<Key word="xcopy"/>
</KeyWords>
</RuleSet>
</RuleSets>
</SyntaxDefinition>