Powershell mode for CodeMirror
Now it actually works!
What it has:
- All standard PowerShell syntax
- Highlighting of built-in functions and variables (e.g. Test-Path or Write-Warning)
- Highlighting of string interpolation in single-line strings
What it does not have:
- Highlighting of string interpolation in here-strings
- Any special handling of attributes (e.g.
[switch]
would be highlighted as a keyword in braces)