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"