mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 21:09:43 +00:00
![Matt Bierner](/assets/img/avatar_default.png)
For #108237 This only fixes the basic case of making sure multiline types in jsdoc do not capture the leading `*`
22 lines
371 B
JSON
22 lines
371 B
JSON
|
|
{
|
|
"injectionSelector": "L:comment.block.documentation",
|
|
"patterns": [
|
|
{
|
|
"include": "#jsdocbody"
|
|
}
|
|
],
|
|
"repository": {
|
|
"jsdocbody": {
|
|
"begin": "(?<=/\\*\\*)([^*]|\\*(?!/))*$",
|
|
"while": "(^|\\G)\\s*\\*(?!/)(?=([^*]|[*](?!/))*$)",
|
|
"patterns": [
|
|
{
|
|
"include": "source.ts#docblock"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scopeName": "documentation.injection.ts"
|
|
}
|