Restore injection grammar for multiline jsdoc types

For #108237

This only fixes the basic case of making sure multiline types in jsdoc do not capture the leading `*`
This commit is contained in:
Matt Bierner
2020-10-08 00:00:00 -06:00
parent 2dbd0ae6a4
commit f564bbd517
4 changed files with 178 additions and 10 deletions

View File

@@ -79,6 +79,22 @@
"meta.import string.quoted": "other",
"variable.other.jsdoc": "other"
}
},
{
"scopeName": "documentation.injection.ts",
"path": "./syntaxes/jsdoc.ts.injection.tmLanguage.json",
"injectTo": [
"source.ts",
"source.tsx"
]
},
{
"scopeName": "documentation.injection.js.jsx",
"path": "./syntaxes/jsdoc.js.injection.tmLanguage.json",
"injectTo": [
"source.js",
"source.js.jsx"
]
}
],
"semanticTokenScopes": [