mao-santaella-rs / NightWolfTheme

🐺 Night Wolf, VsCode Theme by Mao
MIT License
35 stars 9 forks source link

Better support for rust-lang keyword? #30

Closed WindSoilder closed 3 years ago

WindSoilder commented 3 years ago

Describe the solution you'd like Like the following diagram, the keyword use, pub, fn, as is not highlighted, it seems that it can be improved? 图片

WindSoilder commented 3 years ago

Updated: I have tweaked to use the following setting my self

    "editor.tokenColorCustomizations": {
        "[Night Wolf [dark gray]]": {
            "textMateRules": [
                {
                    "scope": [
                        "keyword"
                    ],
                    "settings": {
                        "foreground": "#00b1ff",
                        "fontStyle": "italic"
                    }
                }
            ]
        }

For now it works fine for me, but I still have troble for the in operator in for loop control...

图片

mao-santaella-rs commented 3 years ago

Hi @WindSoilder thanks for taking the time to do this, I haven't done anything for rust but I'll be gladly looking into this shortly, thanks again

mao-santaella-rs commented 3 years ago

Hi @WindSoilder, thanks again for taking the time, I just updated the theme to v1.9.0 and solves this, please let me know what you think

WindSoilder commented 3 years ago

Oh... Thanks for your update :-) The new version is much better than I expected :-)

Loving the purple color for use, for .. in .. keyword. And blue for type define keyword like fn, struct.

I can't say how much I love these changes! Anyway, thank you! I love it very much.