Skip to content

Commit

Permalink
fix: html highlight ranges incorrect
Browse files Browse the repository at this point in the history
close #1393
  • Loading branch information
johnsoncodehk committed Jun 4, 2022
1 parent ba2835f commit 1ec63a4
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -15,7 +15,7 @@ export function register(context: LanguageServiceRuntimeContext) {
for (const [mappedRange] of sourceMap.getMappedRanges(
position,
position,
data => !!data.capabilities.basic,
data => !!data.capabilities.semanticTokens,
)) {
yield mappedRange.start;
}
Expand Down

0 comments on commit 1ec63a4

Please sign in to comment.