Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comment rule to reset highlighting #98

Open
4 tasks
Xliff opened this issue Jun 18, 2022 · 0 comments
Open
4 tasks

Comment rule to reset highlighting #98

Xliff opened this issue Jun 18, 2022 · 0 comments

Comments

@Xliff
Copy link

Xliff commented Jun 18, 2022

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant