-
Notifications
You must be signed in to change notification settings - Fork 17
Where/Foreach-object breaks syntax hightlighting #53
Comments
Thanks for the report! This is also related to PR #52, this package is adopting the syntax grammar put out by the PowerShell team and i think this may be a regression due to that move. i think i'll forward this one on to the PowerShell/EditorSyntax repository and we'll see what they say. Maybe it will be possible to apply changes similar to #50 in their language file? |
This issue was moved to PowerShell/EditorSyntax#24 |
Hi! i've reverted back to the previous grammar file, so things should be back where they were. If they aren't, please let me know! Thanks for your patience with me as i fix this, and i'm so sorry you hit up against problems. It wasn't a wise decision for me to rush into bumping the grammar versions 😨 |
Fixed by #65, thanks for your patience. |
After updating language-powershell to the most recent release the following from the code above breaks code highlighting for me:
The same also appears to be the case for the following little snippet (code hightlighting continues as before if commented out):
I also see the issue in places such as this:
Where if I comment out lines [3-6] highlighting continues.
Another example where the Where line breaks highlighting:
My gut feeling says it's related to PR50 since it's all directly after a foreach/where, but I'm not really sure. Is there anything I can do to provide a clearer report/exclude other potential sources of the issue?
The text was updated successfully, but these errors were encountered: