Update service
This commit is contained in:
parent
9a3ef8c4b2
commit
02b7e03b72
3 changed files with 12 additions and 14 deletions
|
@ -9,8 +9,8 @@
|
|||
},
|
||||
"main": "./out/htmlServerMain",
|
||||
"dependencies": {
|
||||
"vscode-css-languageservice": "^3.0.13-next.3",
|
||||
"vscode-html-languageservice": "^2.1.11-next.2",
|
||||
"vscode-css-languageservice": "^3.0.13-next.6",
|
||||
"vscode-html-languageservice": "^2.1.11-next.3",
|
||||
"vscode-languageserver": "^5.1.0",
|
||||
"vscode-languageserver-types": "^3.13.0",
|
||||
"vscode-nls": "^4.0.0",
|
||||
|
|
|
@ -66,10 +66,8 @@ export interface LanguageModeRange extends Range {
|
|||
}
|
||||
|
||||
export function getLanguageModes(supportedLanguages: { [languageId: string]: boolean; }, workspace: Workspace, customData?: HTMLData): LanguageModes {
|
||||
|
||||
const htmlLanguageService = getHTMLLanguageService({
|
||||
customData
|
||||
});
|
||||
const customDataCollections = customData ? [customData] : [];
|
||||
const htmlLanguageService = getHTMLLanguageService({ customDataCollections });
|
||||
|
||||
let documentRegions = getLanguageModelCache<HTMLDocumentRegions>(10, 60, document => getDocumentRegions(htmlLanguageService, document));
|
||||
|
||||
|
|
|
@ -229,18 +229,18 @@ supports-color@5.4.0:
|
|||
dependencies:
|
||||
has-flag "^3.0.0"
|
||||
|
||||
vscode-css-languageservice@^3.0.13-next.3:
|
||||
version "3.0.13-next.3"
|
||||
resolved "https://registry.yarnpkg.com/vscode-css-languageservice/-/vscode-css-languageservice-3.0.13-next.3.tgz#b9e6f253cace52fbb749d2fe194ae4b196f3543e"
|
||||
integrity sha512-7+7JddZRt8zFRLbqygxJw+GHtbQ5o2YvgEFvi4ixvbUAX6KlY3Yw6CgUUbg9dmBla7h+GbtoDjwiLFV6Oy+SBQ==
|
||||
vscode-css-languageservice@^3.0.13-next.6:
|
||||
version "3.0.13-next.6"
|
||||
resolved "https://registry.yarnpkg.com/vscode-css-languageservice/-/vscode-css-languageservice-3.0.13-next.6.tgz#0329ea1da29ca84d1821cd32ee10bca0ee4c50cd"
|
||||
integrity sha512-wC8zaFWHNnqIaOT4LXByy3NyTl916uHxGy3U3cpV7Gw7F8ENylSGM2RAO+l7NohIbP0WZlet441HEwSbb+bZbQ==
|
||||
dependencies:
|
||||
vscode-languageserver-types "^3.13.0"
|
||||
vscode-nls "^4.0.0"
|
||||
|
||||
vscode-html-languageservice@^2.1.11-next.2:
|
||||
version "2.1.11-next.2"
|
||||
resolved "https://registry.yarnpkg.com/vscode-html-languageservice/-/vscode-html-languageservice-2.1.11-next.2.tgz#0f0f840c2692481199b469e317da38ac2143b975"
|
||||
integrity sha512-aFHtSgGxoxP8EeDDMk0VTAW6pns6ZlJRrwNQxQsFFuJ0PDgJdH5zVUfBOrY47EJHXdxuPSs1/PqZq1LsUY3x3w==
|
||||
vscode-html-languageservice@^2.1.11-next.3:
|
||||
version "2.1.11-next.3"
|
||||
resolved "https://registry.yarnpkg.com/vscode-html-languageservice/-/vscode-html-languageservice-2.1.11-next.3.tgz#f8eaee042c161f47fb71850c558428d0d91c881f"
|
||||
integrity sha512-621+f1nbRvMgLyvW1Aa9shZ9r9qBIXMi4fF8o0voooHjIggrIbstUpYmaQIFRNill3b9HCNdluTZnAQlQGU6Ew==
|
||||
dependencies:
|
||||
vscode-languageserver-types "^3.13.0"
|
||||
vscode-nls "^4.0.0"
|
||||
|
|
Loading…
Reference in a new issue