Skip to content

Commit

Permalink
Added syntax highlighting of parameters. Should fix PowerShell/vscode…
Browse files Browse the repository at this point in the history
  • Loading branch information
gravejester committed May 27, 2016
1 parent be6300b commit 233df30
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions PowerShellSyntax.tmLanguage
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@
<key>include</key>
<string>#type</string>
</dict>
<dict>
<key>include</key>
<string>#parameter</string>
</dict>
<dict>
<key>begin</key>
<string>(?&lt;!(?&lt;!`)")"</string>
Expand Down Expand Up @@ -693,6 +697,13 @@
</dict>
</array>
</dict>
<key>parameter</key>
<dict>
<key>match</key>
<string>((?&lt;=\s)-(\w+))</string>
<key>name</key>
<string>variable.parameter.powershell</string>
</dict>
<key>scriptblock</key>
<dict>
<key>begin</key>
Expand Down

0 comments on commit 233df30

Please sign in to comment.