Closed nanoant closed 6 years ago
Thank you for the bug report! Indeed: github uses this grammar, very convenient for repros :)
Hi ! I have the same issue here :
As soon as i put a "(" after the buggy string it disappear :)
Have a good day !
Looks like https://github.com/PowerShell/EditorSyntax handles it correctly. We are planning to switch to their grammar soon. Stay tuned.
When function parameter name is a keyword e.g.
-Function
then the syntax grammar gets confused, see example below for correct PowerShell script syntax with broken highlighting.P.S. Even GitHub highlight breaks here :)