From 08d373f98d87a1e38cc00df2499c93c5e10b1177 Mon Sep 17 00:00:00 2001 From: David Francoeur Date: Tue, 18 Jul 2023 09:57:48 -0400 Subject: [PATCH 1/2] Support fully qualified name in traits --- smithy.tmGrammar.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smithy.tmGrammar.json b/smithy.tmGrammar.json index 3937097..7064048 100644 --- a/smithy.tmGrammar.json +++ b/smithy.tmGrammar.json @@ -35,7 +35,7 @@ ] }, "traits": { - "match": "@([\\w]+)\\b", + "match": "@([\\w\\.]+)\\b", "name": "support.function" }, "camelcase": { From c98399d8b4d1e7aaa82709d8c1c098856be985e3 Mon Sep 17 00:00:00 2001 From: David Francoeur Date: Tue, 18 Jul 2023 10:00:37 -0400 Subject: [PATCH 2/2] Include pound sign in trait match --- smithy.tmGrammar.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smithy.tmGrammar.json b/smithy.tmGrammar.json index 7064048..af4d302 100644 --- a/smithy.tmGrammar.json +++ b/smithy.tmGrammar.json @@ -35,7 +35,7 @@ ] }, "traits": { - "match": "@([\\w\\.]+)\\b", + "match": "@([\\w\\.#]+)\\b", "name": "support.function" }, "camelcase": {