Skip to content

Commit a70b2fe

Browse files
committed
feat(init): allow dashes in scopes
1 parent aa900bf commit a70b2fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/assets/schemas/config.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"scope": {
2929
"type": "string",
3030
"description": "The TextMate scope that represents this language.",
31-
"pattern": "^(source|text)(\\.\\w+)+$",
31+
"pattern": "^(source|text)(\\.[\\w\\-]+)+$",
3232
"examples": [
3333
"source.rust",
3434
"text.html"

0 commit comments

Comments
 (0)