Skip to content

Commit 1642155

Browse files
Merge pull request #78 from omniomi/splatting-fix
splatting variable highlighting.
2 parents fb98e9a + 3dada88 commit 1642155

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
@@ -950,7 +950,7 @@
950950
</dict>
951951
</dict>
952952
<key>match</key>
953-
<string>(?i:(\$)(global|local|private|script|using|workflow):((?:\p{L}|\d|_)+))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
953+
<string>(?i:(\$|@)(global|local|private|script|using|workflow):((?:\p{L}|\d|_)+))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
954954
</dict>
955955
<dict>
956956
<key>captures</key>
@@ -1009,7 +1009,7 @@
10091009
</dict>
10101010
</dict>
10111011
<key>match</key>
1012-
<string>(?i:(\$)((?:\p{L}|\d|_)+:)?((?:\p{L}|\d|_)+))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
1012+
<string>(?i:(\$|@)((?:\p{L}|\d|_)+:)?((?:\p{L}|\d|_)+))((?:\.(?:\p{L}|\d|_)+)*\b)?</string>
10131013
</dict>
10141014
<dict>
10151015
<key>captures</key>
@@ -1165,7 +1165,7 @@
11651165
</dict>
11661166
</dict>
11671167
<key>match</key>
1168-
<string>(?i:(\$)(global|local|private|script|using|workflow):((?:\p{L}|\d|_)+))</string>
1168+
<string>(?i:(\$|@)(global|local|private|script|using|workflow):((?:\p{L}|\d|_)+))</string>
11691169
</dict>
11701170
<dict>
11711171
<key>captures</key>

0 commit comments

Comments
 (0)