mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-20 00:28:52 +01:00
[html] "Expand selection" misses { } in <script> tag. Fixes #85306
This commit is contained in:
@@ -18,8 +18,8 @@ export function getHTMLMode(htmlLanguageService: HTMLLanguageService, workspace:
|
||||
getId() {
|
||||
return 'html';
|
||||
},
|
||||
getSelectionRanges(document: TextDocument, positions: Position[]): SelectionRange[] {
|
||||
return htmlLanguageService.getSelectionRanges(document, positions);
|
||||
getSelectionRange(document: TextDocument, position: Position): SelectionRange {
|
||||
return htmlLanguageService.getSelectionRanges(document, [position])[0];
|
||||
},
|
||||
doComplete(document: TextDocument, position: Position, settings = workspace.settings) {
|
||||
let options = settings && settings.html && settings.html.suggest;
|
||||
|
||||
Reference in New Issue
Block a user