PowerShell / EditorSyntax

PowerShell syntax highlighting for editors (VS Code, Atom, SublimeText, TextMate, etc.) and GitHub!
MIT License
133 stars 45 forks source link

Improper syntax highlighting for #requires statement #20

Closed pcgeek86 closed 6 years ago

pcgeek86 commented 8 years ago

I have a PowerShell code file with two #requires statements. The code works properly, but the syntax highlighting is improper.

Specifically:

image

Cheers, Trevor Sullivan Microsoft MVP: Cloud & Data Center Management https://trevorsullivan.net https://twitter.com/pcgeek86

daviwil commented 8 years ago

Thanks Trevor! We'll get that fixed.

sgtoj commented 8 years ago

Similar issue with the -Version property:

PS Requires Version Theme: Dark+ (default dark)