From 47ce5ea581f3fe53a31e166c5feac6c64a8a97e4 Mon Sep 17 00:00:00 2001 From: George Fraser Date: Tue, 12 May 2020 21:58:51 -0700 Subject: Color attribute functions --- editors/code/package.json | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'editors/code/package.json') diff --git a/editors/code/package.json b/editors/code/package.json index d899f60e3..d078f7472 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -603,6 +603,10 @@ } ], "semanticTokenModifiers": [ + { + "id": "attribute", + "description": "Style for elements within attributes" + }, { "id": "constant", "description": "Style for compile-time constants" @@ -630,6 +634,9 @@ "attribute": [ "meta.attribute.rust" ], + "function.attribute": [ + "entity.name.function.attribute.rust" + ], "builtinType": [ "support.type.primitive.rust" ], -- cgit v1.2.3