Skip to content

Commit 3dada88

Browse files
committed
splatting variable highlighting.
1 parent 8d46342 commit 3dada88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

PowerShellSyntax.tmLanguage

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,7 @@
875875
</dict>
876876
</dict>
877877
<key>match</key>
878-
<string>(?i:(\$)(global|local|private|script|using|workflow):((?:\p{L}|\d|_)+))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
878+
<string>(?i:(\$|@)(global|local|private|script|using|workflow):((?:\p{L}|\d|_)+))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
879879
</dict>
880880
<dict>
881881
<key>captures</key>
@@ -934,7 +934,7 @@
934934
</dict>
935935
</dict>
936936
<key>match</key>
937-
<string>(?i:(\$)((?:\p{L}|\d|_)+:)?((?:\p{L}|\d|_)+))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
937+
<string>(?i:(\$|@)((?:\p{L}|\d|_)+:)?((?:\p{L}|\d|_)+))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
938938
</dict>
939939
<dict>
940940
<key>captures</key>
@@ -1090,7 +1090,7 @@
10901090
</dict>
10911091
</dict>
10921092
<key>match</key>
1093-
<string>(?i:(\$)(global|local|private|script|using|workflow):((?:\p{L}|\d|_)+))</string>
1093+
<string>(?i:(\$|@)(global|local|private|script|using|workflow):((?:\p{L}|\d|_)+))</string>
10941094
</dict>
10951095
<dict>
10961096
<key>captures</key>

0 commit comments

Comments
 (0)