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

syntax highlighting broken in yaml as of build ST4142 #273

Open
DavidHe1127 opened this issue Nov 24, 2022 · 1 comment
Open

syntax highlighting broken in yaml as of build ST4142 #273

DavidHe1127 opened this issue Nov 24, 2022 · 1 comment

Comments

@DavidHe1127
Copy link

The issue was seen and reported. And I'm not sure if a change needs to be made to fix it in ayu packages - see this. Therefore, I created this issue for you guys to have a further look and confirm.

@danielskowronski
Copy link

danielskowronski commented Feb 16, 2023

Sublime team probably won't fix that soon - sublimehq/Packages#3288 is still open...

It's a matter of adding a new rule to colour scheme, for example in Ayu Dark assuming keys should be coloured as keywords:

{
  "name": "Mapping Key Names",
  "scope": "meta.property-name,meta.mapping.key string.quoted.double, meta.mapping.key string",
  "foreground": "#ff8f40"
}

Updated scope to catch JSON as well.

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

2 participants