<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>fileTypes</key>
	<array>
		<string>sublime-commands</string>
	</array>
	<key>name</key>
	<string>Sublime Text Commands</string>
	<key>patterns</key>
	<array>
		<dict>
			<key>begin</key>
			<string>(\[)</string>
			<key>beginCaptures</key>
			<dict>
				<key>1</key>
				<dict>
					<key>name</key>
					<string>punctuation.definition.collection.start.sublimecommands</string>
				</dict>
			</dict>
			<key>end</key>
			<string>(\])</string>
			<key>endCaptures</key>
			<dict>
				<key>1</key>
				<dict>
					<key>name</key>
					<string>punctuation.definition.collection.end.sublimecommands</string>
				</dict>
			</dict>
			<key>patterns</key>
			<array>
				<dict>
					<key>include</key>
					<string>#command</string>
				</dict>
				<dict>
					<key>include</key>
					<string>#args</string>
				</dict>
				<dict>
					<key>match</key>
					<string>(?&lt;!\}),</string>
					<key>name</key>
					<string>invalid.illegal.definition.sublimecommands</string>
				</dict>
				<dict>
					<key>match</key>
					<string>,{2,}</string>
					<key>name</key>
					<string>invalid.illegal.definition.sublimecommands</string>
				</dict>
				<dict>
					<key>match</key>
					<string>[^,	\s]</string>
					<key>name</key>
					<string>invalid.illegal.definition.sublimecommands</string>
				</dict>
				<dict>
					<key>comment</key>
					<string>XXX</string>
					<key>match</key>
					<string>,(?&gt;$\s+\])</string>
					<key>name</key>
					<string>invalid.illegal.definition.sublimecommands</string>
				</dict>
			</array>
		</dict>
	</array>
	<key>repository</key>
	<dict>
		<key>args</key>
		<dict>
			<key>begin</key>
			<string>"(args)"\s*:</string>
			<key>beginCaptures</key>
			<dict>
				<key>1</key>
				<dict>
					<key>name</key>
					<string>keyword.other.sublimecommands</string>
				</dict>
			</dict>
			<key>end</key>
			<string>(?&lt;=\})</string>
			<key>name</key>
			<string>meta.definition.attached.command.arguments.sublimecommands</string>
			<key>patterns</key>
			<array>
				<dict>
					<key>include</key>
					<string>source.jsongenericarray</string>
				</dict>
				<dict>
					<key>captures</key>
					<dict>
						<key>1</key>
						<dict>
							<key>name</key>
							<string>support.function.array.generic.key.sublimecommands</string>
						</dict>
					</dict>
					<key>match</key>
					<string>"([a-zA-Z0-9_]+)"\s*:</string>
				</dict>
				<dict>
					<key>include</key>
					<string>source.jsongenericarrayelements</string>
				</dict>
				<dict>
					<key>match</key>
					<string>true|false|\d+</string>
					<key>name</key>
					<string>constant.numeric.sublimecommands</string>
				</dict>
				<dict>
					<key>match</key>
					<string>\{</string>
					<key>name</key>
					<string>punctuation.definition.array.keybinding.key.sequence</string>
				</dict>
			</array>
		</dict>
		<key>command</key>
		<dict>
			<key>begin</key>
			<string>\{</string>
			<key>end</key>
			<string>\}</string>
			<key>patterns</key>
			<array>
				<dict>
					<key>captures</key>
					<dict>
						<key>1</key>
						<dict>
							<key>name</key>
							<string>keyword.other.sublimecommands</string>
						</dict>
						<key>2</key>
						<dict>
							<key>name</key>
							<string>string.attached.command.name.sublimecommands</string>
						</dict>
					</dict>
					<key>match</key>
					<string>"(command|caption)":\s*"([^"]+)"</string>
				</dict>
				<dict>
					<key>include</key>
					<string>#args</string>
				</dict>
			</array>
		</dict>
	</dict>
	<key>scopeName</key>
	<string>source.sublimecommands</string>
	<key>uuid</key>
	<string>f56e1baa-51fc-4791-a9d9-21301f2e3a01</string>
</dict>
</plist>
