diff --git a/packages/vscode-mdx/src/extension.js b/packages/vscode-mdx/src/extension.js index 8b01d835..4887cb79 100644 --- a/packages/vscode-mdx/src/extension.js +++ b/packages/vscode-mdx/src/extension.js @@ -3,7 +3,6 @@ * @typedef {import('vscode').ExtensionContext} ExtensionContext */ -import {DiagnosticModel} from '@volar/language-server' import * as languageServerProtocol from '@volar/language-server/protocol.js' import {activateAutoInsertion, getTsdk, supportLabsVersion} from '@volar/vscode' import {languages, workspace} from 'vscode' @@ -41,8 +40,7 @@ export async function activate(context) { { documentSelector: [{language: 'mdx'}], initializationOptions: { - typescript: {tsdk}, - diagnosticModel: DiagnosticModel.Pull + typescript: {tsdk} } } )