Skip to content

Commit 26e15ec

Browse files
committed
Merge branch 'pr/171547' into volar-html
2 parents 0d469ab + 69f7abe commit 26e15ec

File tree

8 files changed

+54
-250
lines changed

8 files changed

+54
-250
lines changed

extensions/html-language-features/client/src/browser/htmlClientMain.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
import * as serverProtocol from '@volar/language-server/protocol';
76
import { BaseLanguageClient, LanguageClientOptions, createLabsInfo } from '@volar/vscode';
87
import { LanguageClient } from '@volar/vscode/browser';
98
import { Disposable, ExtensionContext, Uri, l10n } from 'vscode';
@@ -32,7 +31,7 @@ export async function activate(context: ExtensionContext) {
3231

3332
client = await startClient(context, newLanguageClient, { TextDecoder, timer });
3433

35-
const labsInfo = createLabsInfo(serverProtocol);
34+
const labsInfo = createLabsInfo();
3635
labsInfo.addLanguageClient(languageClient);
3736
return labsInfo.extensionExports;
3837
} catch (e) {

extensions/html-language-features/client/src/node/htmlClientMain.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
* Licensed under the MIT License. See License.txt in the project root for license information.
44
*--------------------------------------------------------------------------------------------*/
55

6-
import * as serverProtocol from '@volar/language-server/protocol';
76
import { createLabsInfo, LanguageClientOptions } from '@volar/vscode';
87
import { BaseLanguageClient, LanguageClient, ServerOptions, TransportKind } from '@volar/vscode/node';
98
import TelemetryReporter from '@vscode/extension-telemetry';
@@ -51,7 +50,7 @@ export async function activate(context: ExtensionContext) {
5150

5251
client = await startClient(context, newLanguageClient, { TextDecoder, telemetry, timer });
5352

54-
const labsInfo = createLabsInfo(serverProtocol);
53+
const labsInfo = createLabsInfo();
5554
labsInfo.addLanguageClient(languageClient);
5655
return labsInfo.extensionExports;
5756
}

extensions/html-language-features/package-lock.json

Lines changed: 7 additions & 169 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

extensions/html-language-features/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -258,8 +258,7 @@
258258
]
259259
},
260260
"dependencies": {
261-
"@volar/language-server": "~2.4.0",
262-
"@volar/vscode": "~2.4.0",
261+
"@volar/vscode": "~2.4.14",
263262
"@vscode/extension-telemetry": "^0.9.8"
264263
},
265264
"devDependencies": {

0 commit comments

Comments
 (0)