From 362fca9036878472966c78e6b7a9c24a4cf9ee45 Mon Sep 17 00:00:00 2001 From: vhladko Date: Thu, 23 Dec 2021 15:41:25 +0200 Subject: [PATCH] gh-167: Improved syntax highlighting support for Rust --- themes/nord-color-theme.json | 40 ++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/themes/nord-color-theme.json b/themes/nord-color-theme.json index 480bf9a..c45bc93 100644 --- a/themes/nord-color-theme.json +++ b/themes/nord-color-theme.json @@ -1215,6 +1215,46 @@ "foreground": "#81A1C1" } }, + { + "name": "[Rust] Entity types", + "scope": "source.rust entity.name.type", + "settings": { + "foreground": "#8FBCBB" + } + }, + { + "name": "[Rust] Macro", + "scope": "source.rust meta.macro entity.name.function", + "settings": { + "fontStyle": "bold", + "foreground": "#88C0D0" + } + }, + { + "name": "[Rust] Attributes", + "scope": [ + "source.rust meta.attribute", + "source.rust meta.attribute punctuation", + "source.rust meta.attribute keyword.operator" + ], + "settings": { + "foreground": "#5E81AC", + } + }, + { + "name": "[Rust] Traits", + "scope": "source.rust entity.name.type.trait", + "settings": { + "fontStyle": "bold" + } + }, + { + "name": "[Rust] Interpolation Bracket Curly", + "scope": "source.rust punctuation.definition.interpolation", + "settings": { + "foreground": "#EBCB8B", + } + }, { "name": "[SCSS] Punctuation Definition Interpolation Bracket Curly", "scope": [