catppuccin / sublime-text

🍋 Soothing pastel color schemes for Sublime Text
MIT License
112 stars 13 forks source link

Semantic Highlighting #2

Closed karimlevallois closed 2 years ago

karimlevallois commented 2 years ago

Can I suggest adding the following to allow for Semantic Highlighting?

https://lsp.sublimetext.io/customization/#semantic-highlighting

{
    "rules": [
        {
            "scope": "meta.semantic-token",
            "background": "#00000101"
        },
    ]
}
ghost commented 2 years ago

Added. Based on the documentation you linked, it looks like that's all I needed to add but I don't notice any difference. Can you confirm that it's doing what you want?

karimlevallois commented 2 years ago

I think you'll only see differences if the language supports it, or that you have it switched on. It's a pretty new thing, but good to have there ready.

nekowinston commented 2 years ago

This issue's pretty old, and I've just merged a PR implementing the 0.2.0 spec, can we consider this resolved?

karimlevallois commented 2 years ago

Yeah, think we’re all good, that line just needed to be added in the theme to work.

Thanks for updating for the new colours, much appreciated!