Closed keith-hall closed 6 years ago
The PowerShell "stop-parsing" symbol is scoped correctly, but doesn't prevent the rest of the line being highlighted as PowerShell code.
The rest of the line following --% should be scoped as string.unquoted with no PowerShell constructs scoped like $VarName or /.
--%
string.unquoted
$VarName
/
tf.exe status . /r --% /workspace:*;domain\$UserName
(code taken from https://stackoverflow.com/a/18928501/4473405)
Just need to add a capture for anything until the end of the line and make sure the stop-processing symbol is high in the definitions.
Environment
Issue Description
The PowerShell "stop-parsing" symbol is scoped correctly, but doesn't prevent the rest of the line being highlighted as PowerShell code.
Screenshots
Expected Behavior
The rest of the line following
--%
should be scoped asstring.unquoted
with no PowerShell constructs scoped like$VarName
or/
.Code Samples
(code taken from https://stackoverflow.com/a/18928501/4473405)