Skip to content

Commit

Permalink
feat(languages): hasLinkedEditing
Browse files Browse the repository at this point in the history
  • Loading branch information
fannheyward committed Jun 8, 2021
1 parent 1013b3e commit 6774cf1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -446,6 +446,10 @@ class Languages {
return this.semanticTokensManager.provideDocumentSemanticTokensEdits(document, previousResultId, token)
}

public hasLinkedEditing(document: TextDocument): boolean {
return this.linkedEditingManager.hasProvider(document)
}

public async provideLinkedEdits(document: TextDocument, position: Position, token: CancellationToken): Promise<LinkedEditingRanges> {
return this.linkedEditingManager.provideLinkedEditingRanges(document, position, token)
}
Expand Down

0 comments on commit 6774cf1

Please sign in to comment.