Skip to content

Comment rule to reset highlighting #98

@Xliff

Description

@Xliff

Describe what you see, what you want to see, and perhaps some linkage to docs, synopses, or irclog chatter.

The following code will completely stick the syntactic highlighter into string colorization mode.

Example Code

var \m = 'Something';

m = 'Something else'

Is there some way we can introduce a comment that will reset the colors when this happens?

Something similar to this:

var \m = 'Something';

m = 'Something else'

# -- Atom reset colors

If someone could point me to a primer on how atom does syntactic highlighting, I would be happy to make these changes, myself.

Picture [optional]

Providing a picture means that if the issue is fixed and linguist updates to include the fix (linguist uses this package to highlight Raku on GitHub), your issue will remain historically viewable.

Leave this in. For internal use.

  • Fixed in Master
  • Fixed in Release
  • Has Tests
  • Passes Tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions