feat(init): allow dashes in scopes
This commit is contained in:
parent
aa900bf6ed
commit
a70b2fee4b
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue