Merge pull request #70 from SpencerSharkey/patch-1

Use typescript language for hover tooltip header
This commit is contained in:
Alexandru Dima 2020-09-17 10:33:26 +02:00 committed by GitHub
commit c8a45c5ade
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -670,7 +670,7 @@ export class QuickInfoAdapter
range: this._textSpanToRange(model, info.textSpan), range: this._textSpanToRange(model, info.textSpan),
contents: [ contents: [
{ {
value: '```js\n' + contents + '\n```\n' value: '```typescript\n' + contents + '\n```\n'
}, },
{ {
value: documentation + (tags ? '\n\n' + tags : '') value: documentation + (tags ? '\n\n' + tags : '')