From f2372c91208d517d5f21da549401a7f65bdcbf74 Mon Sep 17 00:00:00 2001 From: Brad Cornes Date: Sun, 20 Jun 2021 17:59:46 +0100 Subject: [PATCH] fix hover error --- packages/vscode-tailwindcss/src/extension.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/vscode-tailwindcss/src/extension.ts b/packages/vscode-tailwindcss/src/extension.ts index b7d49a5..62861fe 100755 --- a/packages/vscode-tailwindcss/src/extension.ts +++ b/packages/vscode-tailwindcss/src/extension.ts @@ -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