Skip to content

Instantly share code, notes, and snippets.

@webgtx
Created July 15, 2023 07:44
Show Gist options
  • Save webgtx/6a5e7bb743e511e2df7eef49b2d5a2e2 to your computer and use it in GitHub Desktop.
Save webgtx/6a5e7bb743e511e2df7eef49b2d5a2e2 to your computer and use it in GitHub Desktop.
How to fix YAML highlighting in sublime text

Just call Preferences => Customize Color Scheme

and add this between the square brackets under "rules":

        {
            "name": "Mapping Key Names",
            "scope": "meta.mapping.key string",
            "foreground": "#ff79c6"
        }

This will color everything like it used to be. Really weird change, by the way. Clearly a regression if you ask me. The syntax highlighting is almost useless without this. I thought it was broken before I found this issue.

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