| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> |
| 3 | <plist version="1.0"> |
| 4 | <dict> |
| 5 | 	<key>fileTypes</key> |
| 6 | 	<array> |
| 7 | 		<string>yaml</string> |
| 8 | 		<string>yml</string> |
| 9 | 		<string>rviz</string> |
| 10 | 		<string>reek</string> |
| 11 | 		<string>clang-format</string> |
| 12 | 		<string>yaml-tmlanguage</string> |
| 13 | 		<string>syntax</string> |
| 14 | 		<string>sublime-syntax</string> |
| 15 | 	</array> |
| 16 | 	<key>firstLineMatch</key> |
| 17 | 	<string>^%YAML( ?1.\d+)?</string> |
| 18 | 	<key>keyEquivalent</key> |
| 19 | 	<string>^~Y</string> |
| 20 | 	<key>name</key> |
| 21 | 	<string>YAML</string> |
| 22 | 	<key>patterns</key> |
| 23 | 	<array> |
| 24 | 		<dict> |
| 25 | 			<key>include</key> |
| 26 | 			<string>#comment</string> |
| 27 | 		</dict> |
| 28 | 		<dict> |
| 29 | 			<key>include</key> |
| 30 | 			<string>#property</string> |
| 31 | 		</dict> |
| 32 | 		<dict> |
| 33 | 			<key>include</key> |
| 34 | 			<string>#directive</string> |
| 35 | 		</dict> |
| 36 | 		<dict> |
| 37 | 			<key>match</key> |
| 38 | 			<string>^---</string> |
| 39 | 			<key>name</key> |
| 40 | 			<string>entity.other.document.begin.yaml</string> |
| 41 | 		</dict> |
| 42 | 		<dict> |
| 43 | 			<key>match</key> |
| 44 | 			<string>^\.{3}</string> |
| 45 | 			<key>name</key> |
| 46 | 			<string>entity.other.document.end.yaml</string> |
| 47 | 		</dict> |
| 48 | 		<dict> |
| 49 | 			<key>include</key> |
| 50 | 			<string>#node</string> |
| 51 | 		</dict> |
| 52 | 	</array> |
| 53 | 	<key>repository</key> |
| 54 | 	<dict> |
| 55 | 		<key>block-collection</key> |
| 56 | 		<dict> |
| 57 | 			<key>patterns</key> |
| 58 | 			<array> |
| 59 | 				<dict> |
| 60 | 					<key>include</key> |
| 61 | 					<string>#block-sequence</string> |
| 62 | 				</dict> |
| 63 | 				<dict> |
| 64 | 					<key>include</key> |
| 65 | 					<string>#block-mapping</string> |
| 66 | 				</dict> |
| 67 | 			</array> |
| 68 | 		</dict> |
| 69 | 		<key>block-mapping</key> |
| 70 | 		<dict> |
| 71 | 			<key>patterns</key> |
| 72 | 			<array> |
| 73 | 				<dict> |
| 74 | 					<key>include</key> |
| 75 | 					<string>#block-pair</string> |
| 76 | 				</dict> |
| 77 | 			</array> |
| 78 | 		</dict> |
| 79 | 		<key>block-node</key> |
| 80 | 		<dict> |
| 81 | 			<key>patterns</key> |
| 82 | 			<array> |
| 83 | 				<dict> |
| 84 | 					<key>include</key> |
| 85 | 					<string>#prototype</string> |
| 86 | 				</dict> |
| 87 | 				<dict> |
| 88 | 					<key>include</key> |
| 89 | 					<string>#block-scalar</string> |
| 90 | 				</dict> |
| 91 | 				<dict> |
| 92 | 					<key>include</key> |
| 93 | 					<string>#block-collection</string> |
| 94 | 				</dict> |
| 95 | 				<dict> |
| 96 | 					<key>include</key> |
| 97 | 					<string>#flow-scalar-plain-out</string> |
| 98 | 				</dict> |
| 99 | 				<dict> |
| 100 | 					<key>include</key> |
| 101 | 					<string>#flow-node</string> |
| 102 | 				</dict> |
| 103 | 			</array> |
| 104 | 		</dict> |
| 105 | 		<key>block-pair</key> |
| 106 | 		<dict> |
| 107 | 			<key>patterns</key> |
| 108 | 			<array> |
| 109 | 				<dict> |
| 110 | 					<key>begin</key> |
| 111 | 					<string>\?</string> |
| 112 | 					<key>beginCaptures</key> |
| 113 | 					<dict> |
| 114 | 						<key>1</key> |
| 115 | 						<dict> |
| 116 | 							<key>name</key> |
| 117 | 							<string>punctuation.definition.key-value.begin.yaml</string> |
| 118 | 						</dict> |
| 119 | 					</dict> |
| 120 | 					<key>end</key> |
| 121 | 					<string>(?=\?)|^ *(:)|(:)</string> |
| 122 | 					<key>endCaptures</key> |
| 123 | 					<dict> |
| 124 | 						<key>1</key> |
| 125 | 						<dict> |
| 126 | 							<key>name</key> |
| 127 | 							<string>punctuation.separator.key-value.mapping.yaml</string> |
| 128 | 						</dict> |
| 129 | 						<key>2</key> |
| 130 | 						<dict> |
| 131 | 							<key>name</key> |
| 132 | 							<string>invalid.illegal.expected-newline.yaml</string> |
| 133 | 						</dict> |
| 134 | 					</dict> |
| 135 | 					<key>name</key> |
| 136 | 					<string>meta.block-mapping.yaml</string> |
| 137 | 					<key>patterns</key> |
| 138 | 					<array> |
| 139 | 						<dict> |
| 140 | 							<key>include</key> |
| 141 | 							<string>#block-node</string> |
| 142 | 						</dict> |
| 143 | 					</array> |
| 144 | 				</dict> |
| 145 | 				<dict> |
| 146 | 					<key>begin</key> |
| 147 | 					<string>(?x) |
| 148 | (?= |
| 149 | (?x: |
| 150 | [^\s[-?:,\[\]{}#&amp;*!|&gt;'"%@`]] |
| 151 | | [?:-] \S |
| 152 | ) |
| 153 | ( |
| 154 | [^\s:] |
| 155 | | : \S |
| 156 | | \s+ (?![#\s]) |
| 157 | )* |
| 158 | \s* |
| 159 | : |
| 160 | 							(\s|$) |
| 161 | ) |
| 162 | </string> |
| 163 | 					<key>end</key> |
| 164 | 					<string>(?x) |
| 165 | (?= |
| 166 | \s* $ |
| 167 | | \s+ \# |
| 168 | | \s* : (\s|$) |
| 169 | ) |
| 170 | </string> |
| 171 | 					<key>patterns</key> |
| 172 | 					<array> |
| 173 | 						<dict> |
| 174 | 							<key>include</key> |
| 175 | 							<string>#flow-scalar-plain-out-implicit-type</string> |
| 176 | 						</dict> |
| 177 | 						<dict> |
| 178 | 							<key>begin</key> |
| 179 | 							<string>(?x) |
| 180 | [^\s[-?:,\[\]{}#&amp;*!|&gt;'"%@`]] |
| 181 | | [?:-] \S |
| 182 | </string> |
| 183 | 							<key>beginCaptures</key> |
| 184 | 							<dict> |
| 185 | 								<key>0</key> |
| 186 | 								<dict> |
| 187 | 									<key>name</key> |
| 188 | 									<string>entity.name.tag.yaml</string> |
| 189 | 								</dict> |
| 190 | 							</dict> |
| 191 | 							<key>contentName</key> |
| 192 | 							<string>entity.name.tag.yaml</string> |
| 193 | 							<key>end</key> |
| 194 | 							<string>(?x) |
| 195 | (?= |
| 196 | \s* $ |
| 197 | | \s+ \# |
| 198 | | \s* : (\s|$) |
| 199 | ) |
| 200 | </string> |
| 201 | 							<key>name</key> |
| 202 | 							<string>string.unquoted.plain.out.yaml</string> |
| 203 | 						</dict> |
| 204 | 					</array> |
| 205 | 				</dict> |
| 206 | 				<dict> |
| 207 | 					<key>match</key> |
| 208 | 					<string>:(?=\s|$)</string> |
| 209 | 					<key>name</key> |
| 210 | 					<string>punctuation.separator.key-value.mapping.yaml</string> |
| 211 | 				</dict> |
| 212 | 			</array> |
| 213 | 		</dict> |
| 214 | 		<key>block-scalar</key> |
| 215 | 		<dict> |
| 216 | 			<key>begin</key> |
| 217 | 			<string>(?:(\|)|(&gt;))([1-9])?([-+])?(.*\n?)</string> |
| 218 | 			<key>beginCaptures</key> |
| 219 | 			<dict> |
| 220 | 				<key>1</key> |
| 221 | 				<dict> |
| 222 | 					<key>name</key> |
| 223 | 					<string>keyword.control.flow.block-scalar.literal.yaml</string> |
| 224 | 				</dict> |
| 225 | 				<key>2</key> |
| 226 | 				<dict> |
| 227 | 					<key>name</key> |
| 228 | 					<string>keyword.control.flow.block-scalar.folded.yaml</string> |
| 229 | 				</dict> |
| 230 | 				<key>3</key> |
| 231 | 				<dict> |
| 232 | 					<key>name</key> |
| 233 | 					<string>constant.numeric.indentation-indicator.yaml</string> |
| 234 | 				</dict> |
| 235 | 				<key>4</key> |
| 236 | 				<dict> |
| 237 | 					<key>name</key> |
| 238 | 					<string>storage.modifier.chomping-indicator.yaml</string> |
| 239 | 				</dict> |
| 240 | 				<key>5</key> |
| 241 | 				<dict> |
| 242 | 					<key>patterns</key> |
| 243 | 					<array> |
| 244 | 						<dict> |
| 245 | 							<key>include</key> |
| 246 | 							<string>#comment</string> |
| 247 | 						</dict> |
| 248 | 						<dict> |
| 249 | 							<key>match</key> |
| 250 | 							<string>.+</string> |
| 251 | 							<key>name</key> |
| 252 | 							<string>invalid.illegal.expected-comment-or-newline.yaml</string> |
| 253 | 						</dict> |
| 254 | 					</array> |
| 255 | 				</dict> |
| 256 | 			</dict> |
| 257 | 			<key>end</key> |
| 258 | 			<string>^(?=\S)|(?!\G)</string> |
| 259 | 			<key>patterns</key> |
| 260 | 			<array> |
| 261 | 				<dict> |
| 262 | 					<key>begin</key> |
| 263 | 					<string>^([ ]+)(?! )</string> |
| 264 | 					<key>end</key> |
| 265 | 					<string>^(?!\1|\s*$)</string> |
| 266 | 					<key>name</key> |
| 267 | 					<string>string.unquoted.block.yaml</string> |
| 268 | 				</dict> |
| 269 | 			</array> |
| 270 | 		</dict> |
| 271 | 		<key>block-sequence</key> |
| 272 | 		<dict> |
| 273 | 			<key>match</key> |
| 274 | 			<string>(-)(?!\S)</string> |
| 275 | 			<key>name</key> |
| 276 | 			<string>punctuation.definition.block.sequence.item.yaml</string> |
| 277 | 		</dict> |
| 278 | 		<key>comment</key> |
| 279 | 		<dict> |
| 280 | 			<key>begin</key> |
| 281 | 			<string>(?:(^[ \t]*)|[ \t]+)(?=#\p{Print}*$)</string> |
| 282 | 			<key>beginCaptures</key> |
| 283 | 			<dict> |
| 284 | 				<key>1</key> |
| 285 | 				<dict> |
| 286 | 					<key>name</key> |
| 287 | 					<string>punctuation.whitespace.comment.leading.yaml</string> |
| 288 | 				</dict> |
| 289 | 			</dict> |
| 290 | 			<key>end</key> |
| 291 | 			<string>(?!\G)</string> |
| 292 | 			<key>patterns</key> |
| 293 | 			<array> |
| 294 | 				<dict> |
| 295 | 					<key>begin</key> |
| 296 | 					<string>#</string> |
| 297 | 					<key>beginCaptures</key> |
| 298 | 					<dict> |
| 299 | 						<key>0</key> |
| 300 | 						<dict> |
| 301 | 							<key>name</key> |
| 302 | 							<string>punctuation.definition.comment.yaml</string> |
| 303 | 						</dict> |
| 304 | 					</dict> |
| 305 | 					<key>end</key> |
| 306 | 					<string>\n</string> |
| 307 | 					<key>name</key> |
| 308 | 					<string>comment.line.number-sign.yaml</string> |
| 309 | 				</dict> |
| 310 | 			</array> |
| 311 | 		</dict> |
| 312 | 		<key>directive</key> |
| 313 | 		<dict> |
| 314 | 			<key>begin</key> |
| 315 | 			<string>^%</string> |
| 316 | 			<key>beginCaptures</key> |
| 317 | 			<dict> |
| 318 | 				<key>0</key> |
| 319 | 				<dict> |
| 320 | 					<key>name</key> |
| 321 | 					<string>punctuation.definition.directive.begin.yaml</string> |
| 322 | 				</dict> |
| 323 | 			</dict> |
| 324 | 			<key>end</key> |
| 325 | 			<string>(?=$|[ \t]+($|#))</string> |
| 326 | 			<key>name</key> |
| 327 | 			<string>meta.directive.yaml</string> |
| 328 | 			<key>patterns</key> |
| 329 | 			<array> |
| 330 | 				<dict> |
| 331 | 					<key>captures</key> |
| 332 | 					<dict> |
| 333 | 						<key>1</key> |
| 334 | 						<dict> |
| 335 | 							<key>name</key> |
| 336 | 							<string>keyword.other.directive.yaml.yaml</string> |
| 337 | 						</dict> |
| 338 | 						<key>2</key> |
| 339 | 						<dict> |
| 340 | 							<key>name</key> |
| 341 | 							<string>constant.numeric.yaml-version.yaml</string> |
| 342 | 						</dict> |
| 343 | 					</dict> |
| 344 | 					<key>match</key> |
| 345 | 					<string>\G(YAML)[ \t]+(\d+\.\d+)</string> |
| 346 | 				</dict> |
| 347 | 				<dict> |
| 348 | 					<key>captures</key> |
| 349 | 					<dict> |
| 350 | 						<key>1</key> |
| 351 | 						<dict> |
| 352 | 							<key>name</key> |
| 353 | 							<string>keyword.other.directive.tag.yaml</string> |
| 354 | 						</dict> |
| 355 | 						<key>2</key> |
| 356 | 						<dict> |
| 357 | 							<key>name</key> |
| 358 | 							<string>storage.type.tag-handle.yaml</string> |
| 359 | 						</dict> |
| 360 | 						<key>3</key> |
| 361 | 						<dict> |
| 362 | 							<key>name</key> |
| 363 | 							<string>support.type.tag-prefix.yaml</string> |
| 364 | 						</dict> |
| 365 | 					</dict> |
| 366 | 					<key>match</key> |
| 367 | 					<string>(?x) |
| 368 | \G |
| 369 | (TAG) |
| 370 | (?:[ \t]+ |
| 371 | ((?:!(?:[0-9A-Za-z\-]*!)?)) |
| 372 | (?:[ \t]+ ( |
| 373 | ! (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\-#;/?:@&amp;=+$,_.!~*'()\[\]] )* |
| 374 | | (?![,!\[\]{}]) (?x: %[0-9A-Fa-f]{2} | [0-9A-Za-z\-#;/?:@&amp;=+$,_.!~*'()\[\]] )+ |
| 375 | ) |
| 376 | )? |
| 377 | )? |
| 378 | </string> |
| 379 | 				</dict> |
| 380 | 				<dict> |
| 381 | 					<key>captures</key> |
| 382 | 					<dict> |
| 383 | 						<key>1</key> |
| 384 | 						<dict> |
| 385 | 							<key>name</key> |
| 386 | 							<string>support.other.directive.reserved.yaml</string> |
| 387 | 						</dict> |
| 388 | 						<key>2</key> |
| 389 | 						<dict> |
| 390 | 							<key>name</key> |
| 391 | 							<string>string.unquoted.directive-name.yaml</string> |
| 392 | 						</dict> |
| 393 | 						<key>3</key> |
| 394 | 						<dict> |
| 395 | 							<key>name</key> |
| 396 | 							<string>string.unquoted.directive-parameter.yaml</string> |
| 397 | 						</dict> |
| 398 | 					</dict> |
| 399 | 					<key>match</key> |
| 400 | 					<string>(?x) \G (\w+) (?:[ \t]+ (\w+) (?:[ \t]+ (\w+))? )?</string> |
| 401 | 				</dict> |
| 402 | 				<dict> |
| 403 | 					<key>match</key> |
| 404 | 					<string>\S+</string> |
| 405 | 					<key>name</key> |
| 406 | 					<string>invalid.illegal.unrecognized.yaml</string> |
| 407 | 				</dict> |
| 408 | 			</array> |
| 409 | 		</dict> |
| 410 | 		<key>flow-alias</key> |
| 411 | 		<dict> |
| 412 | 			<key>captures</key> |
| 413 | 			<dict> |
| 414 | 				<key>1</key> |
| 415 | 				<dict> |
| 416 | 					<key>name</key> |
| 417 | 					<string>keyword.control.flow.alias.yaml</string> |
| 418 | 				</dict> |
| 419 | 				<key>2</key> |
| 420 | 				<dict> |
| 421 | 					<key>name</key> |
| 422 | 					<string>punctuation.definition.alias.yaml</string> |
| 423 | 				</dict> |
| 424 | 				<key>3</key> |
| 425 | 				<dict> |
| 426 | 					<key>name</key> |
| 427 | 					<string>variable.other.alias.yaml</string> |
| 428 | 				</dict> |
| 429 | 				<key>4</key> |
| 430 | 				<dict> |
| 431 | 					<key>name</key> |
| 432 | 					<string>invalid.illegal.character.anchor.yaml</string> |
| 433 | 				</dict> |
| 434 | 			</dict> |
| 435 | 			<key>match</key> |
| 436 | 			<string>((\*))([^\s\[\]/{/},]+)([^\s\]},]\S*)?</string> |
| 437 | 		</dict> |
| 438 | 		<key>flow-collection</key> |
| 439 | 		<dict> |
| 440 | 			<key>patterns</key> |
| 441 | 			<array> |
| 442 | 				<dict> |
| 443 | 					<key>include</key> |
| 444 | 					<string>#flow-sequence</string> |
| 445 | 				</dict> |
| 446 | 				<dict> |
| 447 | 					<key>include</key> |
| 448 | 					<string>#flow-mapping</string> |
| 449 | 				</dict> |
| 450 | 			</array> |
| 451 | 		</dict> |
| 452 | 		<key>flow-mapping</key> |
| 453 | 		<dict> |
| 454 | 			<key>begin</key> |
| 455 | 			<string>\{</string> |
| 456 | 			<key>beginCaptures</key> |
| 457 | 			<dict> |
| 458 | 				<key>0</key> |
| 459 | 				<dict> |
| 460 | 					<key>name</key> |
| 461 | 					<string>punctuation.definition.mapping.begin.yaml</string> |
| 462 | 				</dict> |
| 463 | 			</dict> |
| 464 | 			<key>end</key> |
| 465 | 			<string>\}</string> |
| 466 | 			<key>endCaptures</key> |
| 467 | 			<dict> |
| 468 | 				<key>0</key> |
| 469 | 				<dict> |
| 470 | 					<key>name</key> |
| 471 | 					<string>punctuation.definition.mapping.end.yaml</string> |
| 472 | 				</dict> |
| 473 | 			</dict> |
| 474 | 			<key>name</key> |
| 475 | 			<string>meta.flow-mapping.yaml</string> |
| 476 | 			<key>patterns</key> |
| 477 | 			<array> |
| 478 | 				<dict> |
| 479 | 					<key>include</key> |
| 480 | 					<string>#prototype</string> |
| 481 | 				</dict> |
| 482 | 				<dict> |
| 483 | 					<key>match</key> |
| 484 | 					<string>,</string> |
| 485 | 					<key>name</key> |
| 486 | 					<string>punctuation.separator.mapping.yaml</string> |
| 487 | 				</dict> |
| 488 | 				<dict> |
| 489 | 					<key>include</key> |
| 490 | 					<string>#flow-pair</string> |
| 491 | 				</dict> |
| 492 | 			</array> |
| 493 | 		</dict> |
| 494 | 		<key>flow-node</key> |
| 495 | 		<dict> |
| 496 | 			<key>patterns</key> |
| 497 | 			<array> |
| 498 | 				<dict> |
| 499 | 					<key>include</key> |
| 500 | 					<string>#prototype</string> |
| 501 | 				</dict> |
| 502 | 				<dict> |
| 503 | 					<key>include</key> |
| 504 | 					<string>#flow-alias</string> |
| 505 | 				</dict> |
| 506 | 				<dict> |
| 507 | 					<key>include</key> |
| 508 | 					<string>#flow-collection</string> |
| 509 | 				</dict> |
| 510 | 				<dict> |
| 511 | 					<key>include</key> |
| 512 | 					<string>#flow-scalar</string> |
| 513 | 				</dict> |
| 514 | 			</array> |
| 515 | 		</dict> |
| 516 | 		<key>flow-pair</key> |
| 517 | 		<dict> |
| 518 | 			<key>patterns</key> |
| 519 | 			<array> |
| 520 | 				<dict> |
| 521 | 					<key>begin</key> |
| 522 | 					<string>\?</string> |
| 523 | 					<key>beginCaptures</key> |
| 524 | 					<dict> |
| 525 | 						<key>0</key> |
| 526 | 						<dict> |
| 527 | 							<key>name</key> |
| 528 | 							<string>punctuation.definition.key-value.begin.yaml</string> |
| 529 | 						</dict> |
| 530 | 					</dict> |
| 531 | 					<key>end</key> |
| 532 | 					<string>(?=[},\]])</string> |
| 533 | 					<key>name</key> |
| 534 | 					<string>meta.flow-pair.explicit.yaml</string> |
| 535 | 					<key>patterns</key> |
| 536 | 					<array> |
| 537 | 						<dict> |
| 538 | 							<key>include</key> |
| 539 | 							<string>#prototype</string> |
| 540 | 						</dict> |
| 541 | 						<dict> |
| 542 | 							<key>include</key> |
| 543 | 							<string>#flow-pair</string> |
| 544 | 						</dict> |
| 545 | 						<dict> |
| 546 | 							<key>include</key> |
| 547 | 							<string>#flow-node</string> |
| 548 | 						</dict> |
| 549 | 						<dict> |
| 550 | 							<key>begin</key> |
| 551 | 							<string>:(?=\s|$|[\[\]{},])</string> |
| 552 | 							<key>beginCaptures</key> |
| 553 | 							<dict> |
| 554 | 								<key>0</key> |
| 555 | 								<dict> |
| 556 | 									<key>name</key> |
| 557 | 									<string>punctuation.separator.key-value.mapping.yaml</string> |
| 558 | 								</dict> |
| 559 | 							</dict> |
| 560 | 							<key>end</key> |
| 561 | 							<string>(?=[},\]])</string> |
| 562 | 							<key>patterns</key> |
| 563 | 							<array> |
| 564 | 								<dict> |
| 565 | 									<key>include</key> |
| 566 | 									<string>#flow-value</string> |
| 567 | 								</dict> |
| 568 | 							</array> |
| 569 | 						</dict> |
| 570 | 					</array> |
| 571 | 				</dict> |
| 572 | 				<dict> |
| 573 | 					<key>begin</key> |
| 574 | 					<string>(?x) |
| 575 | (?= |
| 576 | (?: |
| 577 | [^\s[-?:,\[\]{}#&amp;*!|&gt;'"%@`]] |
| 578 | | [?:-] [^\s[\[\]{},]] |
| 579 | ) |
| 580 | ( |
| 581 | [^\s:[\[\]{},]] |
| 582 | | : [^\s[\[\]{},]] |
| 583 | | \s+ (?![#\s]) |
| 584 | )* |
| 585 | \s* |
| 586 | : |
| 587 | 							(\s|$) |
| 588 | ) |
| 589 | </string> |
| 590 | 					<key>end</key> |
| 591 | 					<string>(?x) |
| 592 | (?= |
| 593 | \s* $ |
| 594 | | \s+ \# |
| 595 | | \s* : (\s|$) |
| 596 | | \s* : [\[\]{},] |
| 597 | | \s* [\[\]{},] |
| 598 | ) |
| 599 | </string> |
| 600 | 					<key>name</key> |
| 601 | 					<string>meta.flow-pair.key.yaml</string> |
| 602 | 					<key>patterns</key> |
| 603 | 					<array> |
| 604 | 						<dict> |
| 605 | 							<key>include</key> |
| 606 | 							<string>#flow-scalar-plain-in-implicit-type</string> |
| 607 | 						</dict> |
| 608 | 						<dict> |
| 609 | 							<key>begin</key> |
| 610 | 							<string>(?x) |
| 611 | [^\s[-?:,\[\]{}#&amp;*!|&gt;'"%@`]] |
| 612 | | [?:-] [^\s[\[\]{},]] |
| 613 | </string> |
| 614 | 							<key>beginCaptures</key> |
| 615 | 							<dict> |
| 616 | 								<key>0</key> |
| 617 | 								<dict> |
| 618 | 									<key>name</key> |
| 619 | 									<string>entity.name.tag.yaml</string> |
| 620 | 								</dict> |
| 621 | 							</dict> |
| 622 | 							<key>contentName</key> |
| 623 | 							<string>entity.name.tag.yaml</string> |
| 624 | 							<key>end</key> |
| 625 | 							<string>(?x) |
| 626 | (?= |
| 627 | \s* $ |
| 628 | | \s+ \# |
| 629 | | \s* : (\s|$) |
| 630 | | \s* : [\[\]{},] |
| 631 | | \s* [\[\]{},] |
| 632 | ) |
| 633 | </string> |
| 634 | 							<key>name</key> |
| 635 | 							<string>string.unquoted.plain.in.yaml</string> |
| 636 | 						</dict> |
| 637 | 					</array> |
| 638 | 				</dict> |
| 639 | 				<dict> |
| 640 | 					<key>include</key> |
| 641 | 					<string>#flow-node</string> |
| 642 | 				</dict> |
| 643 | 				<dict> |
| 644 | 					<key>begin</key> |
| 645 | 					<string>:(?=\s|$|[\[\]{},])</string> |
| 646 | 					<key>captures</key> |
| 647 | 					<dict> |
| 648 | 						<key>0</key> |
| 649 | 						<dict> |
| 650 | 							<key>name</key> |
| 651 | 							<string>punctuation.separator.key-value.mapping.yaml</string> |
| 652 | 						</dict> |
| 653 | 					</dict> |
| 654 | 					<key>end</key> |
| 655 | 					<string>(?=[},\]])</string> |
| 656 | 					<key>name</key> |
| 657 | 					<string>meta.flow-pair.yaml</string> |
| 658 | 					<key>patterns</key> |
| 659 | 					<array> |
| 660 | 						<dict> |
| 661 | 							<key>include</key> |
| 662 | 							<string>#flow-value</string> |
| 663 | 						</dict> |
| 664 | 					</array> |
| 665 | 				</dict> |
| 666 | 			</array> |
| 667 | 		</dict> |
| 668 | 		<key>flow-scalar</key> |
| 669 | 		<dict> |
| 670 | 			<key>patterns</key> |
| 671 | 			<array> |
| 672 | 				<dict> |
| 673 | 					<key>include</key> |
| 674 | 					<string>#flow-scalar-double-quoted</string> |
| 675 | 				</dict> |
| 676 | 				<dict> |
| 677 | 					<key>include</key> |
| 678 | 					<string>#flow-scalar-single-quoted</string> |
| 679 | 				</dict> |
| 680 | 				<dict> |
| 681 | 					<key>include</key> |
| 682 | 					<string>#flow-scalar-plain-in</string> |
| 683 | 				</dict> |
| 684 | 			</array> |
| 685 | 		</dict> |
| 686 | 		<key>flow-scalar-double-quoted</key> |
| 687 | 		<dict> |
| 688 | 			<key>begin</key> |
| 689 | 			<string>"</string> |
| 690 | 			<key>beginCaptures</key> |
| 691 | 			<dict> |
| 692 | 				<key>0</key> |
| 693 | 				<dict> |
| 694 | 					<key>name</key> |
| 695 | 					<string>punctuation.definition.string.begin.yaml</string> |
| 696 | 				</dict> |
| 697 | 			</dict> |
| 698 | 			<key>end</key> |
| 699 | 			<string>"</string> |
| 700 | 			<key>endCaptures</key> |
| 701 | 			<dict> |
| 702 | 				<key>0</key> |
| 703 | 				<dict> |
| 704 | 					<key>name</key> |
| 705 | 					<string>punctuation.definition.string.end.yaml</string> |
| 706 | 				</dict> |
| 707 | 			</dict> |
| 708 | 			<key>name</key> |
| 709 | 			<string>string.quoted.double.yaml</string> |
| 710 | 			<key>patterns</key> |
| 711 | 			<array> |
| 712 | 				<dict> |
| 713 | 					<key>match</key> |
| 714 | 					<string>\\([0abtnvfre "/\\N_Lp]|x\d\d|u\d{4}|U\d{8})</string> |
| 715 | 					<key>name</key> |
| 716 | 					<string>constant.character.escape.yaml</string> |
| 717 | 				</dict> |
| 718 | 				<dict> |
| 719 | 					<key>match</key> |
| 720 | 					<string>\\\n</string> |
| 721 | 					<key>name</key> |
| 722 | 					<string>constant.character.escape.double-quoted.newline.yaml</string> |
| 723 | 				</dict> |
| 724 | 			</array> |
| 725 | 		</dict> |
| 726 | 		<key>flow-scalar-plain-in</key> |
| 727 | 		<dict> |
| 728 | 			<key>patterns</key> |
| 729 | 			<array> |
| 730 | 				<dict> |
| 731 | 					<key>include</key> |
| 732 | 					<string>#flow-scalar-plain-in-implicit-type</string> |
| 733 | 				</dict> |
| 734 | 				<dict> |
| 735 | 					<key>begin</key> |
| 736 | 					<string>(?x) |
| 737 | [^\s[-?:,\[\]{}#&amp;*!|&gt;'"%@`]] |
| 738 | | [?:-] [^\s[\[\]{},]] |
| 739 | </string> |
| 740 | 					<key>end</key> |
| 741 | 					<string>(?x) |
| 742 | (?= |
| 743 | \s* $ |
| 744 | | \s+ \# |
| 745 | | \s* : (\s|$) |
| 746 | | \s* : [\[\]{},] |
| 747 | | \s* [\[\]{},] |
| 748 | ) |
| 749 | </string> |
| 750 | 					<key>name</key> |
| 751 | 					<string>string.unquoted.plain.in.yaml</string> |
| 752 | 				</dict> |
| 753 | 			</array> |
| 754 | 		</dict> |
| 755 | 		<key>flow-scalar-plain-in-implicit-type</key> |
| 756 | 		<dict> |
| 757 | 			<key>patterns</key> |
| 758 | 			<array> |
| 759 | 				<dict> |
| 760 | 					<key>captures</key> |
| 761 | 					<dict> |
| 762 | 						<key>1</key> |
| 763 | 						<dict> |
| 764 | 							<key>name</key> |
| 765 | 							<string>constant.language.null.yaml</string> |
| 766 | 						</dict> |
| 767 | 						<key>2</key> |
| 768 | 						<dict> |
| 769 | 							<key>name</key> |
| 770 | 							<string>constant.language.boolean.yaml</string> |
| 771 | 						</dict> |
| 772 | 						<key>3</key> |
| 773 | 						<dict> |
| 774 | 							<key>name</key> |
| 775 | 							<string>constant.numeric.integer.yaml</string> |
| 776 | 						</dict> |
| 777 | 						<key>4</key> |
| 778 | 						<dict> |
| 779 | 							<key>name</key> |
| 780 | 							<string>constant.numeric.float.yaml</string> |
| 781 | 						</dict> |
| 782 | 						<key>5</key> |
| 783 | 						<dict> |
| 784 | 							<key>name</key> |
| 785 | 							<string>constant.other.timestamp.yaml</string> |
| 786 | 						</dict> |
| 787 | 						<key>6</key> |
| 788 | 						<dict> |
| 789 | 							<key>name</key> |
| 790 | 							<string>constant.language.value.yaml</string> |
| 791 | 						</dict> |
| 792 | 						<key>7</key> |
| 793 | 						<dict> |
| 794 | 							<key>name</key> |
| 795 | 							<string>constant.language.merge.yaml</string> |
| 796 | 						</dict> |
| 797 | 					</dict> |
| 798 | 					<key>match</key> |
| 799 | 					<string>(?x) |
| 800 | (?x: |
| 801 | (null|Null|NULL|~) |
| 802 | | (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF) |
| 803 | | ( |
| 804 | (?: |
| 805 | [-+]? 0b [0-1_]+ # (base 2) |
| 806 | | [-+]? 0 [0-7_]+ # (base 8) |
| 807 | | [-+]? (?: 0|[1-9][0-9_]*) # (base 10) |
| 808 | | [-+]? 0x [0-9a-fA-F_]+ # (base 16) |
| 809 | | [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+ # (base 60) |
| 810 | ) |
| 811 | ) |
| 812 | | ( |
| 813 | (?x: |
| 814 | [-+]? (?: [0-9] [0-9_]*)? \. [0-9.]* (?: [eE] [-+] [0-9]+)? # (base 10) |
| 815 | | [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \. [0-9_]* # (base 60) |
| 816 | | [-+]? \. (?: inf|Inf|INF) # (infinity) |
| 817 | | \. (?: nan|NaN|NAN) # (not a number) |
| 818 | ) |
| 819 | ) |
| 820 | | ( |
| 821 | (?x: |
| 822 | \d{4} - \d{2} - \d{2} # (y-m-d) |
| 823 | | \d{4} # (year) |
| 824 | - \d{1,2} # (month) |
| 825 | - \d{1,2} # (day) |
| 826 | (?: [Tt] | [ \t]+) \d{1,2} # (hour) |
| 827 | : \d{2} # (minute) |
| 828 | : \d{2} # (second) |
| 829 | (?: \.\d*)? # (fraction) |
| 830 | (?: |
| 831 | (?:[ \t]*) Z |
| 832 | | [-+] \d{1,2} (?: :\d{1,2})? |
| 833 | )? # (time zone) |
| 834 | ) |
| 835 | ) |
| 836 | | (=) |
| 837 | | (&lt;&lt;) |
| 838 | ) |
| 839 | (?: |
| 840 | (?= |
| 841 | \s* $ |
| 842 | | \s+ \# |
| 843 | | \s* : (\s|$) |
| 844 | | \s* : [\[\]{},] |
| 845 | | \s* [\[\]{},] |
| 846 | ) |
| 847 | ) |
| 848 | </string> |
| 849 | 				</dict> |
| 850 | 			</array> |
| 851 | 		</dict> |
| 852 | 		<key>flow-scalar-plain-out</key> |
| 853 | 		<dict> |
| 854 | 			<key>patterns</key> |
| 855 | 			<array> |
| 856 | 				<dict> |
| 857 | 					<key>include</key> |
| 858 | 					<string>#flow-scalar-plain-out-implicit-type</string> |
| 859 | 				</dict> |
| 860 | 				<dict> |
| 861 | 					<key>begin</key> |
| 862 | 					<string>(?x) |
| 863 | [^\s[-?:,\[\]{}#&amp;*!|&gt;'"%@`]] |
| 864 | | [?:-] \S |
| 865 | </string> |
| 866 | 					<key>end</key> |
| 867 | 					<string>(?x) |
| 868 | (?= |
| 869 | \s* $ |
| 870 | | \s+ \# |
| 871 | | \s* : (\s|$) |
| 872 | ) |
| 873 | </string> |
| 874 | 					<key>name</key> |
| 875 | 					<string>string.unquoted.plain.out.yaml</string> |
| 876 | 				</dict> |
| 877 | 			</array> |
| 878 | 		</dict> |
| 879 | 		<key>flow-scalar-plain-out-implicit-type</key> |
| 880 | 		<dict> |
| 881 | 			<key>patterns</key> |
| 882 | 			<array> |
| 883 | 				<dict> |
| 884 | 					<key>captures</key> |
| 885 | 					<dict> |
| 886 | 						<key>1</key> |
| 887 | 						<dict> |
| 888 | 							<key>name</key> |
| 889 | 							<string>constant.language.null.yaml</string> |
| 890 | 						</dict> |
| 891 | 						<key>2</key> |
| 892 | 						<dict> |
| 893 | 							<key>name</key> |
| 894 | 							<string>constant.language.boolean.yaml</string> |
| 895 | 						</dict> |
| 896 | 						<key>3</key> |
| 897 | 						<dict> |
| 898 | 							<key>name</key> |
| 899 | 							<string>constant.numeric.integer.yaml</string> |
| 900 | 						</dict> |
| 901 | 						<key>4</key> |
| 902 | 						<dict> |
| 903 | 							<key>name</key> |
| 904 | 							<string>constant.numeric.float.yaml</string> |
| 905 | 						</dict> |
| 906 | 						<key>5</key> |
| 907 | 						<dict> |
| 908 | 							<key>name</key> |
| 909 | 							<string>constant.other.timestamp.yaml</string> |
| 910 | 						</dict> |
| 911 | 						<key>6</key> |
| 912 | 						<dict> |
| 913 | 							<key>name</key> |
| 914 | 							<string>constant.language.value.yaml</string> |
| 915 | 						</dict> |
| 916 | 						<key>7</key> |
| 917 | 						<dict> |
| 918 | 							<key>name</key> |
| 919 | 							<string>constant.language.merge.yaml</string> |
| 920 | 						</dict> |
| 921 | 					</dict> |
| 922 | 					<key>match</key> |
| 923 | 					<string>(?x) |
| 924 | (?x: |
| 925 | (null|Null|NULL|~) |
| 926 | | (y|Y|yes|Yes|YES|n|N|no|No|NO|true|True|TRUE|false|False|FALSE|on|On|ON|off|Off|OFF) |
| 927 | | ( |
| 928 | (?: |
| 929 | [-+]? 0b [0-1_]+ # (base 2) |
| 930 | | [-+]? 0 [0-7_]+ # (base 8) |
| 931 | | [-+]? (?: 0|[1-9][0-9_]*) # (base 10) |
| 932 | | [-+]? 0x [0-9a-fA-F_]+ # (base 16) |
| 933 | | [-+]? [1-9] [0-9_]* (?: :[0-5]?[0-9])+ # (base 60) |
| 934 | ) |
| 935 | ) |
| 936 | | ( |
| 937 | (?x: |
| 938 | [-+]? (?: [0-9] [0-9_]*)? \. [0-9.]* (?: [eE] [-+] [0-9]+)? # (base 10) |
| 939 | | [-+]? [0-9] [0-9_]* (?: :[0-5]?[0-9])+ \. [0-9_]* # (base 60) |
| 940 | | [-+]? \. (?: inf|Inf|INF) # (infinity) |
| 941 | | \. (?: nan|NaN|NAN) # (not a number) |
| 942 | ) |
| 943 | ) |
| 944 | | ( |
| 945 | (?x: |
| 946 | \d{4} - \d{2} - \d{2} # (y-m-d) |
| 947 | | \d{4} # (year) |
| 948 | - \d{1,2} # (month) |
| 949 | - \d{1,2} # (day) |
| 950 | (?: [Tt] | [ \t]+) \d{1,2} # (hour) |
| 951 | : \d{2} # (minute) |
| 952 | : \d{2} # (second) |
| 953 | (?: \.\d*)? # (fraction) |
| 954 | (?: |
| 955 | (?:[ \t]*) Z |
| 956 | | [-+] \d{1,2} (?: :\d{1,2})? |
| 957 | )? # (time zone) |
| 958 | ) |
| 959 | ) |
| 960 | | (=) |
| 961 | | (&lt;&lt;) |
| 962 | ) |
| 963 | (?x: |
| 964 | (?= |
| 965 | \s* $ |
| 966 | | \s+ \# |
| 967 | | \s* : (\s|$) |
| 968 | ) |
| 969 | ) |
| 970 | </string> |
| 971 | 				</dict> |
| 972 | 			</array> |
| 973 | 		</dict> |
| 974 | 		<key>flow-scalar-single-quoted</key> |
| 975 | 		<dict> |
| 976 | 			<key>begin</key> |
| 977 | 			<string>'</string> |
| 978 | 			<key>beginCaptures</key> |
| 979 | 			<dict> |
| 980 | 				<key>0</key> |
| 981 | 				<dict> |
| 982 | 					<key>name</key> |
| 983 | 					<string>punctuation.definition.string.begin.yaml</string> |
| 984 | 				</dict> |
| 985 | 			</dict> |
| 986 | 			<key>end</key> |
| 987 | 			<string>'(?!')</string> |
| 988 | 			<key>endCaptures</key> |
| 989 | 			<dict> |
| 990 | 				<key>0</key> |
| 991 | 				<dict> |
| 992 | 					<key>name</key> |
| 993 | 					<string>punctuation.definition.string.end.yaml</string> |
| 994 | 				</dict> |
| 995 | 			</dict> |
| 996 | 			<key>name</key> |
| 997 | 			<string>string.quoted.single.yaml</string> |
| 998 | 			<key>patterns</key> |
| 999 | 			<array> |
| 1000 | 				<dict> |
| 1001 | 					<key>match</key> |
| 1002 | 					<string>''</string> |
| 1003 | 					<key>name</key> |
| 1004 | 					<string>constant.character.escape.single-quoted.yaml</string> |
| 1005 | 				</dict> |
| 1006 | 			</array> |
| 1007 | 		</dict> |
| 1008 | 		<key>flow-sequence</key> |
| 1009 | 		<dict> |
| 1010 | 			<key>begin</key> |
| 1011 | 			<string>\[</string> |
| 1012 | 			<key>beginCaptures</key> |
| 1013 | 			<dict> |
| 1014 | 				<key>0</key> |
| 1015 | 				<dict> |
| 1016 | 					<key>name</key> |
| 1017 | 					<string>punctuation.definition.sequence.begin.yaml</string> |
| 1018 | 				</dict> |
| 1019 | 			</dict> |
| 1020 | 			<key>end</key> |
| 1021 | 			<string>\]</string> |
| 1022 | 			<key>endCaptures</key> |
| 1023 | 			<dict> |
| 1024 | 				<key>0</key> |
| 1025 | 				<dict> |
| 1026 | 					<key>name</key> |
| 1027 | 					<string>punctuation.definition.sequence.end.yaml</string> |
| 1028 | 				</dict> |
| 1029 | 			</dict> |
| 1030 | 			<key>name</key> |
| 1031 | 			<string>meta.flow-sequence.yaml</string> |
| 1032 | 			<key>patterns</key> |
| 1033 | 			<array> |
| 1034 | 				<dict> |
| 1035 | 					<key>include</key> |
| 1036 | 					<string>#prototype</string> |
| 1037 | 				</dict> |
| 1038 | 				<dict> |
| 1039 | 					<key>match</key> |
| 1040 | 					<string>,</string> |
| 1041 | 					<key>name</key> |
| 1042 | 					<string>punctuation.separator.sequence.yaml</string> |
| 1043 | 				</dict> |
| 1044 | 				<dict> |
| 1045 | 					<key>include</key> |
| 1046 | 					<string>#flow-pair</string> |
| 1047 | 				</dict> |
| 1048 | 				<dict> |
| 1049 | 					<key>include</key> |
| 1050 | 					<string>#flow-node</string> |
| 1051 | 				</dict> |
| 1052 | 			</array> |
| 1053 | 		</dict> |
| 1054 | 		<key>flow-value</key> |
| 1055 | 		<dict> |
| 1056 | 			<key>patterns</key> |
| 1057 | 			<array> |
| 1058 | 				<dict> |
| 1059 | 					<key>begin</key> |
| 1060 | 					<string>\G(?![},\]])</string> |
| 1061 | 					<key>end</key> |
| 1062 | 					<string>(?=[},\]])</string> |
| 1063 | 					<key>name</key> |
| 1064 | 					<string>meta.flow-pair.value.yaml</string> |
| 1065 | 					<key>patterns</key> |
| 1066 | 					<array> |
| 1067 | 						<dict> |
| 1068 | 							<key>include</key> |
| 1069 | 							<string>#flow-node</string> |
| 1070 | 						</dict> |
| 1071 | 					</array> |
| 1072 | 				</dict> |
| 1073 | 			</array> |
| 1074 | 		</dict> |
| 1075 | 		<key>node</key> |
| 1076 | 		<dict> |
| 1077 | 			<key>patterns</key> |
| 1078 | 			<array> |
| 1079 | 				<dict> |
| 1080 | 					<key>include</key> |
| 1081 | 					<string>#block-node</string> |
| 1082 | 				</dict> |
| 1083 | 			</array> |
| 1084 | 		</dict> |
| 1085 | 		<key>property</key> |
| 1086 | 		<dict> |
| 1087 | 			<key>begin</key> |
| 1088 | 			<string>(?=!|&amp;)</string> |
| 1089 | 			<key>end</key> |
| 1090 | 			<string>(?!\G)</string> |
| 1091 | 			<key>name</key> |
| 1092 | 			<string>meta.property.yaml</string> |
| 1093 | 			<key>patterns</key> |
| 1094 | 			<array> |
| 1095 | 				<dict> |
| 1096 | 					<key>captures</key> |
| 1097 | 					<dict> |
| 1098 | 						<key>1</key> |
| 1099 | 						<dict> |
| 1100 | 							<key>name</key> |
| 1101 | 							<string>keyword.control.property.anchor.yaml</string> |
| 1102 | 						</dict> |
| 1103 | 						<key>2</key> |
| 1104 | 						<dict> |
| 1105 | 							<key>name</key> |
| 1106 | 							<string>punctuation.definition.anchor.yaml</string> |
| 1107 | 						</dict> |
| 1108 | 						<key>3</key> |
| 1109 | 						<dict> |
| 1110 | 							<key>name</key> |
| 1111 | 							<string>entity.name.type.anchor.yaml</string> |
| 1112 | 						</dict> |
| 1113 | 						<key>4</key> |
| 1114 | 						<dict> |
| 1115 | 							<key>name</key> |
| 1116 | 							<string>invalid.illegal.character.anchor.yaml</string> |
| 1117 | 						</dict> |
| 1118 | 					</dict> |
| 1119 | 					<key>match</key> |
| 1120 | 					<string>\G((&amp;))([^\s\[\]/{/},]+)(\S+)?</string> |
| 1121 | 				</dict> |
| 1122 | 				<dict> |
| 1123 | 					<key>match</key> |
| 1124 | 					<string>(?x) |
| 1125 | \G |
| 1126 | (?: |
| 1127 | ! &lt; (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\-#;/?:@&amp;=+$,_.!~*'()\[\]] )+ &gt; |
| 1128 | | (?:!(?:[0-9A-Za-z\-]*!)?) (?: %[0-9A-Fa-f]{2} | [0-9A-Za-z\-#;/?:@&amp;=+$_.~*'()] )+ |
| 1129 | | ! |
| 1130 | ) |
| 1131 | (?=\ |\t|$) |
| 1132 | </string> |
| 1133 | 					<key>name</key> |
| 1134 | 					<string>storage.type.tag-handle.yaml</string> |
| 1135 | 				</dict> |
| 1136 | 				<dict> |
| 1137 | 					<key>match</key> |
| 1138 | 					<string>\S+</string> |
| 1139 | 					<key>name</key> |
| 1140 | 					<string>invalid.illegal.tag-handle.yaml</string> |
| 1141 | 				</dict> |
| 1142 | 			</array> |
| 1143 | 		</dict> |
| 1144 | 		<key>prototype</key> |
| 1145 | 		<dict> |
| 1146 | 			<key>patterns</key> |
| 1147 | 			<array> |
| 1148 | 				<dict> |
| 1149 | 					<key>include</key> |
| 1150 | 					<string>#comment</string> |
| 1151 | 				</dict> |
| 1152 | 				<dict> |
| 1153 | 					<key>include</key> |
| 1154 | 					<string>#property</string> |
| 1155 | 				</dict> |
| 1156 | 			</array> |
| 1157 | 		</dict> |
| 1158 | 	</dict> |
| 1159 | 	<key>scopeName</key> |
| 1160 | 	<string>source.yaml</string> |
| 1161 | 	<key>uuid</key> |
| 1162 | 	<string>686AD6AE-33F3-4493-9512-9E9FC1D5417F</string> |
| 1163 | </dict> |
| 1164 | </plist> |