diff options
Diffstat (limited to 'extensions/html-language-features/server/src/modes/selectionRanges.ts')
-rw-r--r-- | extensions/html-language-features/server/src/modes/selectionRanges.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/html-language-features/server/src/modes/selectionRanges.ts b/extensions/html-language-features/server/src/modes/selectionRanges.ts index 1db5cb4d15c..8624f103e04 100644 --- a/extensions/html-language-features/server/src/modes/selectionRanges.ts +++ b/extensions/html-language-features/server/src/modes/selectionRanges.ts @@ -12,7 +12,7 @@ export async function getSelectionRanges(languageModes: LanguageModes, document: const htmlRange = await htmlMode!.getSelectionRange!(document, position); const mode = languageModes.getModeAtPosition(document, position); if (mode && mode.getSelectionRange) { - let range = await mode.getSelectionRange(document, position); + const range = await mode.getSelectionRange(document, position); let top = range; while (top.parent && insideRangeButNotSame(htmlRange.range, top.parent.range)) { top = top.parent; |