|
63 | 63 | </dict>
|
64 | 64 | <dict>
|
65 | 65 | <key>include</key>
|
66 |
| - <string>#interpolatedStringContent</string> |
| 66 | + <string>#subexpression</string> |
67 | 67 | </dict>
|
68 | 68 | <dict>
|
69 | 69 | <key>include</key>
|
|
214 | 214 | </dict>
|
215 | 215 | <dict>
|
216 | 216 | <key>begin</key>
|
217 |
| - <string>(\$)(\()</string> |
| 217 | + <string>((\$))(\()</string> |
218 | 218 | <key>beginCaptures</key>
|
219 | 219 | <dict>
|
220 | 220 | <key>1</key>
|
221 | 221 | <dict>
|
222 | 222 | <key>name</key>
|
223 |
| - <string>punctuation.definition.variable.powershell</string> |
| 223 | + <string>keyword.other.substatement.powershell</string> |
224 | 224 | </dict>
|
225 | 225 | <key>2</key>
|
| 226 | + <dict> |
| 227 | + <key>name</key> |
| 228 | + <string>punctuation.definition.subexpression.powershell</string> |
| 229 | + </dict> |
| 230 | + <key>3</key> |
226 | 231 | <dict>
|
227 | 232 | <key>name</key>
|
228 | 233 | <string>punctuation.section.group.begin.powershell</string>
|
|
666 | 671 | </dict>
|
667 | 672 | </array>
|
668 | 673 | </dict>
|
669 |
| - <key>interpolatedStringContent</key> |
| 674 | + <key>subexpression</key> |
670 | 675 | <dict>
|
671 | 676 | <key>begin</key>
|
672 | 677 | <string>\(</string>
|
|
678 | 683 | <string>punctuation.section.group.begin.powershell</string>
|
679 | 684 | </dict>
|
680 | 685 | </dict>
|
681 |
| - <key>contentName</key> |
682 |
| - <string>interpolated.simple.source.powershell</string> |
683 | 686 | <key>end</key>
|
684 | 687 | <string>\)</string>
|
685 | 688 | <key>endCaptures</key>
|
|
690 | 693 | <string>punctuation.section.group.end.powershell</string>
|
691 | 694 | </dict>
|
692 | 695 | </dict>
|
| 696 | + <key>name</key> |
| 697 | + <string>meta.group.simple.subexpression.powershell</string> |
693 | 698 | <key>patterns</key>
|
694 | 699 | <array>
|
695 | 700 | <dict>
|
696 | 701 | <key>include</key>
|
697 | 702 | <string>$self</string>
|
698 | 703 | </dict>
|
699 |
| - <dict> |
700 |
| - <key>include</key> |
701 |
| - <string>#interpolation</string> |
702 |
| - </dict> |
703 |
| - <dict> |
704 |
| - <key>include</key> |
705 |
| - <string>#interpolatedStringContent</string> |
706 |
| - </dict> |
707 | 704 | </array>
|
708 | 705 | </dict>
|
709 | 706 | <key>interpolation</key>
|
710 | 707 | <dict>
|
711 | 708 | <key>begin</key>
|
712 |
| - <string>(\$)(\()</string> |
| 709 | + <string>(((\$)))((\())</string> |
713 | 710 | <key>beginCaptures</key>
|
714 | 711 | <dict>
|
715 | 712 | <key>1</key>
|
716 | 713 | <dict>
|
717 | 714 | <key>name</key>
|
718 |
| - <string>punctuation.definition.variable.powershell</string> |
| 715 | + <string>keyword.other.substatement.powershell</string> |
719 | 716 | </dict>
|
720 | 717 | <key>2</key>
|
| 718 | + <dict> |
| 719 | + <key>name</key> |
| 720 | + <string>punctuation.definition.substatement.powershell</string> |
| 721 | + </dict> |
| 722 | + <key>3</key> |
| 723 | + <dict> |
| 724 | + <key>name</key> |
| 725 | + <string>punctuation.section.embedded.substatement.begin.powershell</string> |
| 726 | + </dict> |
| 727 | + <key>4</key> |
721 | 728 | <dict>
|
722 | 729 | <key>name</key>
|
723 | 730 | <string>punctuation.section.group.begin.powershell</string>
|
724 | 731 | </dict>
|
| 732 | + <key>5</key> |
| 733 | + <dict> |
| 734 | + <key>name</key> |
| 735 | + <string>punctuation.section.embedded.substatement.begin.powershell</string> |
| 736 | + </dict> |
725 | 737 | </dict>
|
726 | 738 | <key>contentName</key>
|
727 | 739 | <string>interpolated.complex.source.powershell</string>
|
728 | 740 | <key>end</key>
|
729 |
| - <string>\)</string> |
| 741 | + <string>(\))</string> |
730 | 742 | <key>endCaptures</key>
|
731 | 743 | <dict>
|
732 | 744 | <key>0</key>
|
733 | 745 | <dict>
|
734 | 746 | <key>name</key>
|
735 | 747 | <string>punctuation.section.group.end.powershell</string>
|
736 | 748 | </dict>
|
| 749 | + <key>1</key> |
| 750 | + <dict> |
| 751 | + <key>name</key> |
| 752 | + <string>punctuation.section.embedded.substatement.end.powershell</string> |
| 753 | + </dict> |
737 | 754 | </dict>
|
| 755 | + <key>name</key> |
| 756 | + <string>meta.embedded.substatement.powershell</string> |
738 | 757 | <key>patterns</key>
|
739 | 758 | <array>
|
740 | 759 | <dict>
|
741 | 760 | <key>include</key>
|
742 | 761 | <string>$self</string>
|
743 | 762 | </dict>
|
744 |
| - <dict> |
745 |
| - <key>include</key> |
746 |
| - <string>#interpolation</string> |
747 |
| - </dict> |
748 |
| - <dict> |
749 |
| - <key>include</key> |
750 |
| - <string>#interpolatedStringContent</string> |
751 |
| - </dict> |
752 | 763 | </array>
|
753 | 764 | </dict>
|
754 | 765 | <key>numericConstant</key>
|
|
0 commit comments