Skip to content

(nsis) Incorrect highlighting of keywords #3821

@idleberg

Description

@idleberg

Describe the issue

I have identified several cases where the highlighting for NSIS keywords is incorrect:

  • keywords should only highlight when at the beginning of the line (with or without leading whitespace)
  • keyword blocks should highlight both, the opening and closing keywords

See failing tests for specifics.

Which language seems to have the issue?

NSIS

Are you using highlight or highlightAuto?

Neither. I'm using the Mocha tests.

Expected behavior

Keywords should be highlighted correctly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions