robb0wen / synthwave-vscode

Synthwave inspired colour theme for VS Code 🌅🕶
MIT License
5.15k stars 1.18k forks source link

Missing textmate tokens for markup #214

Open rbutera opened 3 years ago

rbutera commented 3 years ago

This theme is either overriding or not specifying default markup textMateRules that are provided with VS Code default themes. This breaks syntax highlighting in extensions that use these rules.

To Reproduce

Steps to reproduce the behavior:

deleted 

inserted

underline

image

image

Temporary Workaround

Edit your settings.json

{
  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "name": "Deleted",
        "scope": "markup.deleted",
        "settings": {
          "foreground": "#ff0000"
        }
      },
      {
        "name": "Inserted",
        "scope": "markup.inserted",
        "settings": {
          "foreground": "#036A07"
        }
      },
      {
        "name": "Underline",
        "scope": "markup.underline",
        "settings": {
          "fontStyle": "underline"
        }
      },
    ]
  }
}

These colors are not customized for this theme and should be chosen by the theme creator when implementing these textmate tokens.