Skip to content

stop-parsing symbol doesn't stop PowerShell highlighting #113

Closed

Description

Environment

  • Sublime 3176
  • Monokai

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

image

Expected Behavior

The rest of the line following --% should be scoped as string.unquoted with no PowerShell constructs scoped like $VarName or /.

Code Samples

tf.exe status . /r --% /workspace:*;domain\$UserName

(code taken from https://stackoverflow.com/a/18928501/4473405)

Activity

  1. omniomi commented on May 31, 2018

    @omniomi
    Contributor

    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.

  2. added a commit that references this issue on Jun 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions