mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
Load html data using new API per Microsoft/vscode-html-languageservice#45
This commit is contained in:
@@ -50,7 +50,7 @@ export function activate(context: ExtensionContext) {
|
||||
let documentSelector = ['html', 'handlebars', 'razor'];
|
||||
let embeddedLanguages = { css: true, javascript: true };
|
||||
|
||||
let { tagPaths, attributePaths } = getCustomDataPathsInAllWorkspaces(workspace.workspaceFolders);
|
||||
let { dataPaths } = getCustomDataPathsInAllWorkspaces(workspace.workspaceFolders);
|
||||
|
||||
// Options to control the language client
|
||||
let clientOptions: LanguageClientOptions = {
|
||||
@@ -60,8 +60,7 @@ export function activate(context: ExtensionContext) {
|
||||
},
|
||||
initializationOptions: {
|
||||
embeddedLanguages,
|
||||
tagPaths,
|
||||
attributePaths
|
||||
dataPaths
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user