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

No highlight for escaped and special characters #50

Closed
usernamehw opened this issue May 26, 2018 · 2 comments
Closed

No highlight for escaped and special characters #50

usernamehw opened this issue May 26, 2018 · 2 comments

Comments

@usernamehw
Copy link

Example JS:

let str = 'text \n \t \\ text'
@Tyriar
Copy link
Owner

Tyriar commented May 27, 2018

I don't think this should be part of the base colors but maybe a key in IColorSet.syntax?

In the meantime you can change locally at least using:

  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": "constant.character.escape",
        "settings": {
          "foreground": "#fff099"
        }
      },
    ]
  }

@Tyriar Tyriar changed the title No highlight for escaped characters No highlight for escaped and special characters May 27, 2018
@Tyriar
Copy link
Owner

Tyriar commented May 27, 2018

This should also cover HTML special colors #46

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants