From a70b2fee4b509ebe72219b4f8f013ac38885b47c Mon Sep 17 00:00:00 2001 From: Amaan Qureshi Date: Thu, 23 Jan 2025 00:28:38 -0500 Subject: [PATCH] feat(init): allow dashes in scopes --- docs/src/assets/schemas/config.schema.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/assets/schemas/config.schema.json b/docs/src/assets/schemas/config.schema.json index 98760d07..f07a8041 100644 --- a/docs/src/assets/schemas/config.schema.json +++ b/docs/src/assets/schemas/config.schema.json @@ -28,7 +28,7 @@ "scope": { "type": "string", "description": "The TextMate scope that represents this language.", - "pattern": "^(source|text)(\\.\\w+)+$", + "pattern": "^(source|text)(\\.[\\w\\-]+)+$", "examples": [ "source.rust", "text.html"