feat(init): allow dashes in scopes

This commit is contained in:
Amaan Qureshi 2025-01-23 00:28:38 -05:00
parent aa900bf6ed
commit a70b2fee4b

View file

@ -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"