Elffuss BraidHub

kikocis/continue public

main · 31.1 KiBRawPermalink
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>ps1</string>
8 <string>psm1</string>
9 <string>psd1</string>
10 </array>
11 <key>name</key>
12 <string>PowerShell</string>
13 <key>patterns</key>
14 <array>
15 <dict>
16 <key>begin</key>
17 <string>&lt;#</string>
18 <key>beginCaptures</key>
19 <dict>
20 <key>0</key>
21 <dict>
22 <key>name</key>
23 <string>punctuation.start.definition.comment.block.powershell</string>
24 </dict>
25 </dict>
26 <key>end</key>
27 <string>#&gt;</string>
28 <key>endCaptures</key>
29 <dict>
30 <key>0</key>
31 <dict>
32 <key>name</key>
33 <string>punctuation.end.definition.comment.block.powershell</string>
34 </dict>
35 </dict>
36 <key>name</key>
37 <string>comment.block.powershell</string>
38 <key>patterns</key>
39 <array>
40 <dict>
41 <key>include</key>
42 <string>#commentEmbeddedDocs</string>
43 </dict>
44 </array>
45 </dict>
46 <dict>
47 <key>begin</key>
48 <string>(?&lt;![\\-])#</string>
49 <key>end</key>
50 <string>$</string>
51 <key>name</key>
52 <string>comment.line.number-sign.powershell</string>
53 <key>patterns</key>
54 <array>
55 <dict>
56 <key>include</key>
57 <string>#commentEmbeddedDocs</string>
58 </dict>
59 </array>
60 </dict>
61 <dict>
62 <key>match</key>
63 <string>[2-6]&gt;&amp;1|&gt;&gt;|&gt;|&lt;&lt;|&lt;|&gt;|&gt;\||[1-6]&gt;|[1-6]&gt;&gt;</string>
64 <key>name</key>
65 <string>keyword.operator.redirection.powershell</string>
66 </dict>
67 <dict>
68 <key>include</key>
69 <string>#commands</string>
70 </dict>
71 <dict>
72 <key>include</key>
73 <string>#variable</string>
74 </dict>
75 <dict>
76 <key>include</key>
77 <string>#interpolatedStringContent</string>
78 </dict>
79 <dict>
80 <key>include</key>
81 <string>#function</string>
82 </dict>
83 <dict>
84 <key>include</key>
85 <string>#attribute</string>
86 </dict>
87 <dict>
88 <key>include</key>
89 <string>#type</string>
90 </dict>
91 <dict>
92 <key>begin</key>
93 <string>(?&lt;!(?&lt;!`)")"</string>
94 <key>end</key>
95 <string>"(?!")</string>
96 <key>name</key>
97 <string>string.quoted.double.powershell</string>
98 <key>patterns</key>
99 <array>
100 <dict>
101 <key>include</key>
102 <string>#variableNoProperty</string>
103 </dict>
104 <dict>
105 <key>include</key>
106 <string>#doubleQuotedStringEscapes</string>
107 </dict>
108 <dict>
109 <key>include</key>
110 <string>#interpolation</string>
111 </dict>
112 <dict>
113 <key>match</key>
114 <string>`\s*$</string>
115 <key>name</key>
116 <string>keyword.other.powershell</string>
117 </dict>
118 </array>
119 </dict>
120 <dict>
121 <key>comment</key>
122 <string>Needed to parse stuff correctly in 'argument mode'. (See about_parsing.)</string>
123 <key>include</key>
124 <string>#doubleQuotedStringEscapes</string>
125 </dict>
126 <dict>
127 <key>begin</key>
128 <string>(?&lt;!')'</string>
129 <key>end</key>
130 <string>'(?!')</string>
131 <key>name</key>
132 <string>string.quoted.single.powershell</string>
133 <key>patterns</key>
134 <array>
135 <dict>
136 <key>match</key>
137 <string>''</string>
138 <key>name</key>
139 <string>constant.character.escape.powershell</string>
140 </dict>
141 </array>
142 </dict>
143 <dict>
144 <key>begin</key>
145 <string>\@"(?=$)</string>
146 <key>end</key>
147 <string>^"@</string>
148 <key>name</key>
149 <string>string.quoted.double.heredoc.powershell</string>
150 <key>patterns</key>
151 <array>
152 <dict>
153 <key>include</key>
154 <string>#variableNoProperty</string>
155 </dict>
156 <dict>
157 <key>include</key>
158 <string>#doubleQuotedStringEscapes</string>
159 </dict>
160 <dict>
161 <key>include</key>
162 <string>#interpolation</string>
163 </dict>
164 </array>
165 </dict>
166 <dict>
167 <key>begin</key>
168 <string>\@'(?=$)</string>
169 <key>end</key>
170 <string>^'@</string>
171 <key>name</key>
172 <string>string.quoted.single.heredoc.powershell</string>
173 <key>patterns</key>
174 <array>
175 <dict>
176 <key>match</key>
177 <string>''</string>
178 <key>name</key>
179 <string>constant.character.escape.powershell</string>
180 </dict>
181 </array>
182 </dict>
183 <dict>
184 <key>include</key>
185 <string>#numericConstant</string>
186 </dict>
187 <dict>
188 <key>begin</key>
189 <string>@\(</string>
190 <key>captures</key>
191 <dict>
192 <key>0</key>
193 <dict>
194 <key>name</key>
195 <string>keyword.other.powershell</string>
196 </dict>
197 </dict>
198 <key>end</key>
199 <string>\)</string>
200 <key>name</key>
201 <string>meta.group.array-expression.powershell</string>
202 <key>patterns</key>
203 <array>
204 <dict>
205 <key>include</key>
206 <string>$self</string>
207 </dict>
208 </array>
209 </dict>
210 <dict>
211 <key>begin</key>
212 <string>\$\(</string>
213 <key>captures</key>
214 <dict>
215 <key>0</key>
216 <dict>
217 <key>name</key>
218 <string>keyword.other.powershell</string>
219 </dict>
220 </dict>
221 <key>comment</key>
222 <string>TODO: move to repo; make recursive.</string>
223 <key>end</key>
224 <string>\)</string>
225 <key>name</key>
226 <string>meta.group.complex.subexpression.powershell</string>
227 <key>patterns</key>
228 <array>
229 <dict>
230 <key>include</key>
231 <string>$self</string>
232 </dict>
233 </array>
234 </dict>
235 <dict>
236 <key>match</key>
237 <string>(?&lt;!\w)-([ci]?[lg][te]|eq|ne)</string>
238 <key>name</key>
239 <string>keyword.operator.logical.powershell</string>
240 </dict>
241 <dict>
242 <key>match</key>
243 <string>(?i:[a-z][a-z0-9]+-?[a-z][a-z0-9]+)(?i:\.(?i:exe|cmd|bat|ps1))</string>
244 <key>name</key>
245 <string>support.function.powershell</string>
246 </dict>
247 <dict>
248 <key>match</key>
249 <string>(?&lt;!\w)((?i:begin|break|catch|continue|data|define|do|dynamicparam|else|elseif|end|exit|finally|for|foreach(?!-object)|from|if|in|inlinescript|parallel|param|process|return|switch|throw|trap|try|until|using|var|where(?!=-object)|while)|%|\?)(?!\w)</string>
250 <key>name</key>
251 <string>keyword.control.powershell</string>
252 </dict>
253 <dict>
254 <key>captures</key>
255 <dict>
256 <key>1</key>
257 <dict>
258 <key>name</key>
259 <string>storage.type.powershell</string>
260 </dict>
261 <key>2</key>
262 <dict>
263 <key>name</key>
264 <string>entity.name.function</string>
265 </dict>
266 </dict>
267 <key>comment</key>
268 <string>capture should be entity.name.type, but it doesn't provide a good color in the default schema.</string>
269 <key>match</key>
270 <string>(?&lt;!\w)((?i:class)|%|\?)(?:\s)+((?:\p{L}|\d|_|-|)+)\b</string>
271 </dict>
272 <dict>
273 <key>match</key>
274 <string>(?&lt;!\w)-(?i:is(?:not)?|as)\b</string>
275 <key>name</key>
276 <string>keyword.operator.comparison.powershell</string>
277 </dict>
278 <dict>
279 <key>match</key>
280 <string>(?&lt;!\w)-(?i:[ic]?(?:eq|ne|[gl][te]|(?:not)?(?:like|match|contains|in)|replace))(?!\p{L})</string>
281 <key>name</key>
282 <string>keyword.operator.comparison.powershell</string>
283 </dict>
284 <dict>
285 <key>match</key>
286 <string>(?&lt;!\w)-(?i:join|split)(?!\p{L})|!</string>
287 <key>name</key>
288 <string>keyword.operator.unary.powershell</string>
289 </dict>
290 <dict>
291 <key>match</key>
292 <string>(?&lt;!\w)-(?i:and|or|not|xor)(?!\p{L})|!</string>
293 <key>name</key>
294 <string>keyword.operator.logical.powershell</string>
295 </dict>
296 <dict>
297 <key>match</key>
298 <string>(?&lt;!\w)-(?i:band|bor|bnot|bxor)(?!\p{L})</string>
299 <key>name</key>
300 <string>keyword.operator.bitwise.powershell</string>
301 </dict>
302 <dict>
303 <key>match</key>
304 <string>(?&lt;!\w)-(?i:f)(?!\p{L})</string>
305 <key>name</key>
306 <string>keyword.operator.string-format.powershell</string>
307 </dict>
308 <dict>
309 <key>match</key>
310 <string>[+%*/-]?=|[+/*%-]</string>
311 <key>name</key>
312 <string>keyword.operator.assignment.powershell</string>
313 </dict>
314 <dict>
315 <key>match</key>
316 <string>\|{2}|&amp;{2}|;</string>
317 <key>name</key>
318 <string>keyword.other.statement-separator.powershell</string>
319 </dict>
320 <dict>
321 <key>match</key>
322 <string>&amp;|(?&lt;!\w)\.(?= )|`|,|\|</string>
323 <key>name</key>
324 <string>keyword.operator.other.powershell</string>
325 </dict>
326 <dict>
327 <key>comment</key>
328 <string>This is very imprecise, is there a syntax for 'must come after...' </string>
329 <key>match</key>
330 <string>(?&lt;!\s|^)\.\.(?=\d|\(|\$)</string>
331 <key>name</key>
332 <string>keyword.operator.range.powershell</string>
333 </dict>
334 </array>
335 <key>repository</key>
336 <dict>
337 <key>attribute</key>
338 <dict>
339 <key>begin</key>
340 <string>\[(\p{L}|\.|``\d+)+(?=\()</string>
341 <key>beginCaptures</key>
342 <dict>
343 <key>0</key>
344 <dict>
345 <key>name</key>
346 <string>entity.name.tag</string>
347 </dict>
348 <key>1</key>
349 <dict>
350 <key>name</key>
351 <string>entity.name.tag</string>
352 </dict>
353 </dict>
354 <key>end</key>
355 <string>\]</string>
356 <key>endCaptures</key>
357 <dict>
358 <key>0</key>
359 <dict>
360 <key>name</key>
361 <string>entity.name.tag</string>
362 </dict>
363 </dict>
364 <key>patterns</key>
365 <array>
366 <dict>
367 <key>begin</key>
368 <string>\(</string>
369 <key>end</key>
370 <string>\)</string>
371 <key>name</key>
372 <string>entity.other.attribute-name</string>
373 <key>patterns</key>
374 <array>
375 <dict>
376 <key>captures</key>
377 <dict>
378 <key>0</key>
379 <dict>
380 <key>name</key>
381 <string>entity.other.attribute.parameter.powershell</string>
382 </dict>
383 <key>1</key>
384 <dict>
385 <key>name</key>
386 <string>constant.language.powershell</string>
387 </dict>
388 <key>2</key>
389 <dict>
390 <key>name</key>
391 <string>variable.other.powershell</string>
392 </dict>
393 </dict>
394 <key>comment</key>
395 <string>really we should match the known attributes first</string>
396 <key>match</key>
397 <string>(\w+)\s*=?([^"']*?|'[^']*?'|"[^"]*?")?(?=,|\))</string>
398 <key>name</key>
399 <string>entity.other.attribute-name.powershell</string>
400 </dict>
401 <dict>
402 <key>include</key>
403 <string>#variable</string>
404 </dict>
405 </array>
406 </dict>
407 </array>
408 </dict>
409 <key>commands</key>
410 <dict>
411 <key>patterns</key>
412 <array>
413 <dict>
414 <key>comment</key>
415 <string>Verb-Noun pattern:</string>
416 <key>match</key>
417 <string>(?:(\p{L}|\d|_|-|\\|\:)*\\)?\b(?i:Add|Approve|Assert|Backup|Block|Checkpoint|Clear|Close|Compare|Complete|Compress|Confirm|Connect|Convert|ConvertFrom|ConvertTo|Copy|Debug|Deny|Disable|Disconnect|Dismount|Edit|Enable|Enter|Exit|Expand|Export|Find|Format|Get|Grant|Group|Hide|Import|Initialize|Install|Invoke|Join|Limit|Lock|Measure|Merge|Mount|Move|New|Open|Optimize|Out|Ping|Pop|Protect|Publish|Push|Read|Receive|Redo|Register|Remove|Rename|Repair|Request|Reset|Resize|Resolve|Restart|Restore|Resume|Revoke|Save|Search|Select|Send|Set|Show|Skip|Split|Start|Step|Stop|Submit|Suspend|Switch|Sync|Test|Trace|Unblock|Undo|Uninstall|Unlock|Unprotect|Unpublish|Unregister|Update|Use|Wait|Watch|Write)\-.+?(?:\.(?i:exe|cmd|bat|ps1))?\b</string>
418 <key>name</key>
419 <string>support.function.powershell</string>
420 </dict>
421 <dict>
422 <key>comment</key>
423 <string>Builtin cmdlets with reserved verbs</string>
424 <key>match</key>
425 <string>(?&lt;!\w)(?i:foreach-object)(?!\w)</string>
426 <key>name</key>
427 <string>support.function.powershell</string>
428 </dict>
429 </array>
430 </dict>
431 <key>commentEmbeddedDocs</key>
432 <dict>
433 <key>patterns</key>
434 <array>
435 <dict>
436 <key>captures</key>
437 <dict>
438 <key>1</key>
439 <dict>
440 <key>name</key>
441 <string>constant.string.documentation.powershell</string>
442 </dict>
443 <key>2</key>
444 <dict>
445 <key>name</key>
446 <string>keyword.operator.documentation.powershell</string>
447 </dict>
448 </dict>
449 <key>match</key>
450 <string>(?i:\s*(\.)(SYNOPSIS|DESCRIPTION|EXAMPLE|INPUTS|OUTPUTS|NOTES|LINK|COMPONENT|FUNCTIONALITY))</string>
451 <key>name</key>
452 <string>comment.documentation.embedded.powershell</string>
453 </dict>
454 <dict>
455 <key>captures</key>
456 <dict>
457 <key>1</key>
458 <dict>
459 <key>name</key>
460 <string>constant.string.documentation.powershell</string>
461 </dict>
462 <key>2</key>
463 <dict>
464 <key>name</key>
465 <string>keyword.operator.documentation.powershell</string>
466 </dict>
467 <key>3</key>
468 <dict>
469 <key>name</key>
470 <string>keyword.operator.documentation.powershell</string>
471 </dict>
472 </dict>
473 <key>match</key>
474 <string>(?i:\s*(\.)(PARAMETER|FORWARDHELPTARGETNAME|FORWARDHELPCATEGORY|REMOTEHELPRUNSPACE|EXTERNALHELP)\s+([a-z0-9-_]+))</string>
475 <key>name</key>
476 <string>comment.documentation.embedded.powershell</string>
477 </dict>
478 <dict>
479 <key>captures</key>
480 <dict>
481 <key>1</key>
482 <dict>
483 <key>name</key>
484 <string>constant.string.documentation.powershell</string>
485 </dict>
486 <key>2</key>
487 <dict>
488 <key>name</key>
489 <string>keyword.operator.documentation.powershell</string>
490 </dict>
491 <key>3</key>
492 <dict>
493 <key>name</key>
494 <string>string.quoted.double.heredoc.powershell</string>
495 </dict>
496 </dict>
497 <key>match</key>
498 <string>(?i:requires\s+-(Version\s+\d(.\d+)?|Assembly\s+(.*)|Module\s+(.*)|PsSnapIn\s+(.*)|ShellId\s+(.*)))</string>
499 <key>name</key>
500 <string>comment.documentation.embedded.powershell</string>
501 </dict>
502 </array>
503 </dict>
504 <key>doubleQuotedStringEscapes</key>
505 <dict>
506 <key>patterns</key>
507 <array>
508 <dict>
509 <key>match</key>
510 <string>`[0abnfrvt"'$`]</string>
511 <key>name</key>
512 <string>constant.character.escape.powershell</string>
513 </dict>
514 <dict>
515 <key>match</key>
516 <string>""</string>
517 <key>name</key>
518 <string>constant.character.escape.powershell</string>
519 </dict>
520 </array>
521 </dict>
522 <key>function</key>
523 <dict>
524 <key>begin</key>
525 <string>(?&lt;!\S)(?i)(function|filter|configuration|workflow)\s+(?:(global|local|script|private):)?((?:\p{L}|\d|_|-|\.)+)</string>
526 <key>beginCaptures</key>
527 <dict>
528 <key>0</key>
529 <dict>
530 <key>name</key>
531 <string>meta.function</string>
532 </dict>
533 <key>1</key>
534 <dict>
535 <key>name</key>
536 <string>storage.type</string>
537 </dict>
538 <key>2</key>
539 <dict>
540 <key>name</key>
541 <string>storage.modifier.scope.powershell</string>
542 </dict>
543 <key>3</key>
544 <dict>
545 <key>name</key>
546 <string>entity.name.function.powershell</string>
547 </dict>
548 </dict>
549 <key>end</key>
550 <string>\{|\(</string>
551 </dict>
552 <key>interpolatedStringContent</key>
553 <dict>
554 <key>begin</key>
555 <string>\(</string>
556 <key>beginCaptures</key>
557 <dict>
558 <key>0</key>
559 <dict>
560 <key>name</key>
561 <string>keyword.other.powershell</string>
562 </dict>
563 </dict>
564 <key>contentName</key>
565 <string>interpolated.simple.source.powershell</string>
566 <key>end</key>
567 <string>\)</string>
568 <key>endCaptures</key>
569 <dict>
570 <key>0</key>
571 <dict>
572 <key>name</key>
573 <string>keyword.other.powershell</string>
574 </dict>
575 </dict>
576 <key>patterns</key>
577 <array>
578 <dict>
579 <key>include</key>
580 <string>$self</string>
581 </dict>
582 <dict>
583 <key>include</key>
584 <string>#interpolation</string>
585 </dict>
586 <dict>
587 <key>include</key>
588 <string>#interpolatedStringContent</string>
589 </dict>
590 </array>
591 </dict>
592 <key>interpolation</key>
593 <dict>
594 <key>begin</key>
595 <string>(\$)\(</string>
596 <key>beginCaptures</key>
597 <dict>
598 <key>0</key>
599 <dict>
600 <key>name</key>
601 <string>keyword.other.powershell</string>
602 </dict>
603 </dict>
604 <key>contentName</key>
605 <string>interpolated.complex.source.powershell</string>
606 <key>end</key>
607 <string>\)</string>
608 <key>endCaptures</key>
609 <dict>
610 <key>0</key>
611 <dict>
612 <key>name</key>
613 <string>keyword.other.powershell</string>
614 </dict>
615 </dict>
616 <key>patterns</key>
617 <array>
618 <dict>
619 <key>include</key>
620 <string>$self</string>
621 </dict>
622 <dict>
623 <key>include</key>
624 <string>#interpolation</string>
625 </dict>
626 <dict>
627 <key>include</key>
628 <string>#interpolatedStringContent</string>
629 </dict>
630 </array>
631 </dict>
632 <key>numericConstant</key>
633 <dict>
634 <key>patterns</key>
635 <array>
636 <dict>
637 <key>captures</key>
638 <dict>
639 <key>1</key>
640 <dict>
641 <key>name</key>
642 <string>keyword.operator.math.powershell</string>
643 </dict>
644 <key>2</key>
645 <dict>
646 <key>name</key>
647 <string>support.constant.powershell</string>
648 </dict>
649 <key>3</key>
650 <dict>
651 <key>name</key>
652 <string>keyword.other.powershell</string>
653 </dict>
654 </dict>
655 <key>match</key>
656 <string>(?&lt;!\w)(?i:(0x)([a-f0-9]+)((?i:L)?(?i:[kmgtp]b)?))(?!\w)</string>
657 <key>name</key>
658 <string>constant.numeric.hexadecimal.powershell</string>
659 </dict>
660 <dict>
661 <key>captures</key>
662 <dict>
663 <key>1</key>
664 <dict>
665 <key>name</key>
666 <string>support.constant.powershell</string>
667 </dict>
668 <key>2</key>
669 <dict>
670 <key>name</key>
671 <string>keyword.operator.math.powershell</string>
672 </dict>
673 <key>3</key>
674 <dict>
675 <key>name</key>
676 <string>support.constant.powershell</string>
677 </dict>
678 <key>4</key>
679 <dict>
680 <key>name</key>
681 <string>keyword.other.powershell</string>
682 </dict>
683 <key>5</key>
684 <dict>
685 <key>name</key>
686 <string>keyword.other.powershell</string>
687 </dict>
688 </dict>
689 <key>match</key>
690 <string>(?&lt;!\w)(?i:(\d*\.?\d+)(?:((?i:E)[+-]?)(\d+))?((?i:[DL])?)((?i:[kmgtp]b)?))(?!\w)</string>
691 <key>name</key>
692 <string>constant.numeric.scientific.powershell</string>
693 </dict>
694 </array>
695 </dict>
696 <key>scriptblock</key>
697 <dict>
698 <key>begin</key>
699 <string>\{</string>
700 <key>end</key>
701 <string>\}</string>
702 <key>name</key>
703 <string>meta.scriptblock.powershell</string>
704 <key>patterns</key>
705 <array>
706 <dict>
707 <key>include</key>
708 <string>$self</string>
709 </dict>
710 </array>
711 </dict>
712 <key>type</key>
713 <dict>
714 <key>begin</key>
715 <string>\[</string>
716 <key>beginCaptures</key>
717 <dict>
718 <key>0</key>
719 <dict>
720 <key>name</key>
721 <string>entity.other.attribute-name</string>
722 </dict>
723 </dict>
724 <key>comment</key>
725 <string>name should be entity.name.type but default schema doesn't have a good color for it</string>
726 <key>end</key>
727 <string>\]</string>
728 <key>endCaptures</key>
729 <dict>
730 <key>0</key>
731 <dict>
732 <key>name</key>
733 <string>entity.other.attribute-name</string>
734 </dict>
735 </dict>
736 <key>patterns</key>
737 <array>
738 <dict>
739 <key>match</key>
740 <string>(\p{L}|\.|``\d+)+?</string>
741 <key>name</key>
742 <string>entity.other.attribute-name</string>
743 </dict>
744 <dict>
745 <key>include</key>
746 <string>$self</string>
747 </dict>
748 </array>
749 </dict>
750 <key>variable</key>
751 <dict>
752 <key>patterns</key>
753 <array>
754 <dict>
755 <key>captures</key>
756 <dict>
757 <key>1</key>
758 <dict>
759 <key>name</key>
760 <string>keyword.other.powershell</string>
761 </dict>
762 <key>2</key>
763 <dict>
764 <key>name</key>
765 <string>constant.language.powershell</string>
766 </dict>
767 </dict>
768 <key>comment</key>
769 <string>These are special constants.</string>
770 <key>match</key>
771 <string>(\$)(?i:(False|Null|True))\b</string>
772 </dict>
773 <dict>
774 <key>captures</key>
775 <dict>
776 <key>1</key>
777 <dict>
778 <key>name</key>
779 <string>keyword.other.powershell</string>
780 </dict>
781 <key>2</key>
782 <dict>
783 <key>name</key>
784 <string>support.constant.variable.powershell</string>
785 </dict>
786 <key>3</key>
787 <dict>
788 <key>name</key>
789 <string>entity.name.function.invocation.powershell</string>
790 </dict>
791 </dict>
792 <key>comment</key>
793 <string>These are the other built-in constants.</string>
794 <key>match</key>
795 <string>(\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))((?:\.(?:\p{L}|\d|_)+)*\b)?\b</string>
796 </dict>
797 <dict>
798 <key>captures</key>
799 <dict>
800 <key>1</key>
801 <dict>
802 <key>name</key>
803 <string>keyword.other.powershell</string>
804 </dict>
805 <key>2</key>
806 <dict>
807 <key>name</key>
808 <string>support.constant.automatic.powershell</string>
809 </dict>
810 <key>3</key>
811 <dict>
812 <key>name</key>
813 <string>entity.name.function.invocation.powershell</string>
814 </dict>
815 </dict>
816 <key>comment</key>
817 <string>Automatic variables are not constants, but they are read-only. In monokai (default) color schema support.variable doesn't have color, so we use constant.</string>
818 <key>match</key>
819 <string>(\$)(?i:(\$|\^|\?|_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This))((?:\.(?:\p{L}|\d|_)+)*\b)?\b</string>
820 </dict>
821 <dict>
822 <key>captures</key>
823 <dict>
824 <key>1</key>
825 <dict>
826 <key>name</key>
827 <string>keyword.other.powershell</string>
828 </dict>
829 <key>2</key>
830 <dict>
831 <key>name</key>
832 <string>variable.language.powershell</string>
833 </dict>
834 <key>3</key>
835 <dict>
836 <key>name</key>
837 <string>entity.name.function.invocation.powershell</string>
838 </dict>
839 </dict>
840 <key>comment</key>
841 <string>Style preference variables as language variables so that they stand out.</string>
842 <key>match</key>
843 <string>(\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|ProgressPreference|PsCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|VerbosePreference|WarningPreference|WhatIfPreference))((?:\.(?:\p{L}|\d|_)+)*\b)?\b</string>
844 </dict>
845 <dict>
846 <key>captures</key>
847 <dict>
848 <key>1</key>
849 <dict>
850 <key>name</key>
851 <string>keyword.other.powershell</string>
852 </dict>
853 <key>2</key>
854 <dict>
855 <key>name</key>
856 <string>storage.modifier.scope.powershell</string>
857 </dict>
858 <key>3</key>
859 <dict>
860 <key>name</key>
861 <string>variable.other.normal.powershell</string>
862 </dict>
863 <key>4</key>
864 <dict>
865 <key>name</key>
866 <string>entity.name.function.invocation.powershell</string>
867 </dict>
868 </dict>
869 <key>match</key>
870 <string>(?i:(\$)(global|local|private|script|using|workflow):((?:\p{L}|\d|_)+))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
871 </dict>
872 <dict>
873 <key>captures</key>
874 <dict>
875 <key>1</key>
876 <dict>
877 <key>name</key>
878 <string>keyword.other.powershell</string>
879 </dict>
880 <key>2</key>
881 <dict>
882 <key>name</key>
883 <string>storage.modifier.scope.powershell</string>
884 </dict>
885 <key>3</key>
886 <dict>
887 <key>name</key>
888 <string>variable.other.readwrite.powershell</string>
889 </dict>
890 <key>4</key>
891 <dict>
892 <key>name</key>
893 <string>keyword.other.powershell</string>
894 </dict>
895 <key>5</key>
896 <dict>
897 <key>name</key>
898 <string>entity.name.function.invocation.powershell</string>
899 </dict>
900 </dict>
901 <key>match</key>
902 <string>(?i:(\$\{)(global|local|private|script|using|workflow):([^}]*[^}`])(\}))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
903 </dict>
904 <dict>
905 <key>captures</key>
906 <dict>
907 <key>1</key>
908 <dict>
909 <key>name</key>
910 <string>keyword.other.powershell</string>
911 </dict>
912 <key>2</key>
913 <dict>
914 <key>name</key>
915 <string>support.variable.drive.powershell</string>
916 </dict>
917 <key>3</key>
918 <dict>
919 <key>name</key>
920 <string>variable.other.readwrite.powershell</string>
921 </dict>
922 <key>4</key>
923 <dict>
924 <key>name</key>
925 <string>entity.name.function.invocation.powershell</string>
926 </dict>
927 </dict>
928 <key>match</key>
929 <string>(?i:(\$)((?:\p{L}|\d|_)+:)?((?:\p{L}|\d|_)+))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
930 </dict>
931 <dict>
932 <key>captures</key>
933 <dict>
934 <key>1</key>
935 <dict>
936 <key>name</key>
937 <string>keyword.other.powershell</string>
938 </dict>
939 <key>2</key>
940 <dict>
941 <key>name</key>
942 <string>support.variable.drive.powershell</string>
943 </dict>
944 <key>3</key>
945 <dict>
946 <key>name</key>
947 <string>variable.other.readwrite.powershell</string>
948 </dict>
949 <key>4</key>
950 <dict>
951 <key>name</key>
952 <string>keyword.other.powershell</string>
953 </dict>
954 <key>5</key>
955 <dict>
956 <key>name</key>
957 <string>entity.name.function.invocation.powershell</string>
958 </dict>
959 </dict>
960 <key>match</key>
961 <string>(?i:(\$\{)((?:\p{L}|\d|_)+:)?([^}]*[^}`])(\}))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
962 </dict>
963 </array>
964 </dict>
965 <key>variableNoProperty</key>
966 <dict>
967 <key>patterns</key>
968 <array>
969 <dict>
970 <key>captures</key>
971 <dict>
972 <key>1</key>
973 <dict>
974 <key>name</key>
975 <string>keyword.other.powershell</string>
976 </dict>
977 <key>2</key>
978 <dict>
979 <key>name</key>
980 <string>constant.language.powershell</string>
981 </dict>
982 </dict>
983 <key>comment</key>
984 <string>These are special constants.</string>
985 <key>match</key>
986 <string>(\$)(?i:(False|Null|True))\b</string>
987 </dict>
988 <dict>
989 <key>captures</key>
990 <dict>
991 <key>1</key>
992 <dict>
993 <key>name</key>
994 <string>keyword.other.powershell</string>
995 </dict>
996 <key>2</key>
997 <dict>
998 <key>name</key>
999 <string>support.constant.variable.powershell</string>
1000 </dict>
1001 <key>3</key>
1002 <dict>
1003 <key>name</key>
1004 <string>entity.name.function.invocation.powershell</string>
1005 </dict>
1006 </dict>
1007 <key>comment</key>
1008 <string>These are the other built-in constants.</string>
1009 <key>match</key>
1010 <string>(\$)(?i:(Error|ExecutionContext|Host|Home|PID|PsHome|PsVersionTable|ShellID))\b</string>
1011 </dict>
1012 <dict>
1013 <key>captures</key>
1014 <dict>
1015 <key>1</key>
1016 <dict>
1017 <key>name</key>
1018 <string>keyword.other.powershell</string>
1019 </dict>
1020 <key>2</key>
1021 <dict>
1022 <key>name</key>
1023 <string>support.variable.automatic.powershell</string>
1024 </dict>
1025 <key>3</key>
1026 <dict>
1027 <key>name</key>
1028 <string>entity.name.function.invocation.powershell</string>
1029 </dict>
1030 </dict>
1031 <key>comment</key>
1032 <string>Automatic variables are not constants, but they are read-only...</string>
1033 <key>match</key>
1034 <string>(\$)(?i:(\$|\^|\?|_|Args|ConsoleFileName|Event|EventArgs|EventSubscriber|ForEach|Input|LastExitCode|Matches|MyInvocation|NestedPromptLevel|Profile|PSBoundParameters|PsCmdlet|PsCulture|PSDebugContext|PSItem|PSCommandPath|PSScriptRoot|PsUICulture|Pwd|Sender|SourceArgs|SourceEventArgs|StackTrace|Switch|This))\b</string>
1035 </dict>
1036 <dict>
1037 <key>captures</key>
1038 <dict>
1039 <key>1</key>
1040 <dict>
1041 <key>name</key>
1042 <string>keyword.other.powershell</string>
1043 </dict>
1044 <key>2</key>
1045 <dict>
1046 <key>name</key>
1047 <string>variable.language.powershell</string>
1048 </dict>
1049 <key>3</key>
1050 <dict>
1051 <key>name</key>
1052 <string>entity.name.function.invocation.powershell</string>
1053 </dict>
1054 </dict>
1055 <key>comment</key>
1056 <string>Style preference variables as language variables so that they stand out.</string>
1057 <key>match</key>
1058 <string>(\$)(?i:(ConfirmPreference|DebugPreference|ErrorActionPreference|ErrorView|FormatEnumerationLimit|MaximumAliasCount|MaximumDriveCount|MaximumErrorCount|MaximumFunctionCount|MaximumHistoryCount|MaximumVariableCount|OFS|OutputEncoding|ProgressPreference|PsCulture|PSDebugContext|PSDefaultParameterValues|PSEmailServer|PSItem|PSModuleAutoloadingPreference|PSSenderInfo|PSSessionApplicationName|PSSessionConfigurationName|PSSessionOption|VerbosePreference|WarningPreference|WhatIfPreference))\b</string>
1059 </dict>
1060 <dict>
1061 <key>captures</key>
1062 <dict>
1063 <key>1</key>
1064 <dict>
1065 <key>name</key>
1066 <string>keyword.other.powershell</string>
1067 </dict>
1068 <key>2</key>
1069 <dict>
1070 <key>name</key>
1071 <string>storage.modifier.scope.powershell</string>
1072 </dict>
1073 <key>3</key>
1074 <dict>
1075 <key>name</key>
1076 <string>variable.other.normal.powershell</string>
1077 </dict>
1078 <key>4</key>
1079 <dict>
1080 <key>name</key>
1081 <string>entity.name.function.invocation.powershell</string>
1082 </dict>
1083 </dict>
1084 <key>match</key>
1085 <string>(?i:(\$)(global|local|private|script|using|workflow):((?:\p{L}|\d|_)+))</string>
1086 </dict>
1087 <dict>
1088 <key>captures</key>
1089 <dict>
1090 <key>1</key>
1091 <dict>
1092 <key>name</key>
1093 <string>keyword.other.powershell</string>
1094 </dict>
1095 <key>2</key>
1096 <dict>
1097 <key>name</key>
1098 <string>storage.modifier.scope.powershell</string>
1099 </dict>
1100 <key>3</key>
1101 <dict>
1102 <key>name</key>
1103 <string>variable.other.readwrite.powershell</string>
1104 </dict>
1105 <key>4</key>
1106 <dict>
1107 <key>name</key>
1108 <string>keyword.other.powershell</string>
1109 </dict>
1110 <key>5</key>
1111 <dict>
1112 <key>name</key>
1113 <string>entity.name.function.invocation.powershell</string>
1114 </dict>
1115 </dict>
1116 <key>match</key>
1117 <string>(?i:(\$\{)(global|local|private|script|using|workflow):([^}]*[^}`])(\}))</string>
1118 </dict>
1119 <dict>
1120 <key>captures</key>
1121 <dict>
1122 <key>1</key>
1123 <dict>
1124 <key>name</key>
1125 <string>keyword.other.powershell</string>
1126 </dict>
1127 <key>2</key>
1128 <dict>
1129 <key>name</key>
1130 <string>support.variable.drive.powershell</string>
1131 </dict>
1132 <key>3</key>
1133 <dict>
1134 <key>name</key>
1135 <string>variable.other.readwrite.powershell</string>
1136 </dict>
1137 <key>4</key>
1138 <dict>
1139 <key>name</key>
1140 <string>entity.name.function.invocation.powershell</string>
1141 </dict>
1142 </dict>
1143 <key>match</key>
1144 <string>(?i:(\$)((?:\p{L}|\d|_)+:)?((?:\p{L}|\d|_)+))</string>
1145 </dict>
1146 <dict>
1147 <key>captures</key>
1148 <dict>
1149 <key>1</key>
1150 <dict>
1151 <key>name</key>
1152 <string>keyword.other.powershell</string>
1153 </dict>
1154 <key>2</key>
1155 <dict>
1156 <key>name</key>
1157 <string>support.variable.drive.powershell</string>
1158 </dict>
1159 <key>3</key>
1160 <dict>
1161 <key>name</key>
1162 <string>variable.other.readwrite.powershell</string>
1163 </dict>
1164 <key>4</key>
1165 <dict>
1166 <key>name</key>
1167 <string>keyword.other.powershell</string>
1168 </dict>
1169 <key>5</key>
1170 <dict>
1171 <key>name</key>
1172 <string>entity.name.function.invocation.powershell</string>
1173 </dict>
1174 </dict>
1175 <key>match</key>
1176 <string>(?i:(\$\{)((?:\p{L}|\d|_)+:)?([^}]*[^}`])(\}))</string>
1177 </dict>
1178 </array>
1179 </dict>
1180 </dict>
1181 <key>scopeName</key>
1182 <string>source.powershell</string>
1183 <key>uuid</key>
1184 <string>f8f5ffb0-503e-11df-9879-0800200c9a66</string>
1185</dict>
1186</plist>