fix hover error

master
Brad Cornes 2021-06-20 17:59:46 +01:00
parent dc7502c900
commit f2372c9120
1 changed files with 0 additions and 9 deletions

View File

@ -212,15 +212,6 @@ export async function activate(context: ExtensionContext) {
outputChannel: outputChannel,
revealOutputChannelOn: RevealOutputChannelOn.Never,
middleware: {
async provideHover(document, position, token, next) {
let result = await next(document, position, token)
result.contents = result.contents.map((content) => {
// @ts-ignore
content.isTrusted = true
return content
})
return result
},
async resolveCompletionItem(item, token, next) {
let result = await next(item, token)
let selections = Window.activeTextEditor.selections