atom-language icon indicating copy to clipboard operation
atom-language copied to clipboard

Comment rule to reset highlighting

Open Xliff opened this issue 2 years ago • 0 comments

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

Xliff avatar Jun 18 '22 02:06 Xliff