HTML implementation for #88424

This commit is contained in:
Pine Wu
2020-03-18 12:42:48 -07:00
parent f76ca9f6cc
commit 01e01b13f8
7 changed files with 26 additions and 278 deletions

View File

@@ -85,6 +85,10 @@ export function getHTMLMode(htmlLanguageService: HTMLLanguageService, workspace:
const htmlDocument = htmlDocuments.get(document);
return htmlLanguageService.findMatchingTagPosition(document, position, htmlDocument);
},
doOnTypeRename(document: TextDocument, position: Position) {
const htmlDocument = htmlDocuments.get(document);
return htmlLanguageService.findSyncedRegions(document, position, htmlDocument);
},
dispose() {
htmlDocuments.dispose();
}