Skip to content

Commit 6f1767f

Browse files
Fix workspace/textDocumentContent/refresh request (#1637)
The request wasn't being forwarded to the provider, because it was guarded by an inequality check while the schemes are supposed to match.
1 parent d305c8d commit 6f1767f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/common/textDocumentContent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export class TextDocumentContentFeature implements DynamicFeature<TextDocumentCo
6161
const uri = client.protocol2CodeConverter.asUri(params.uri);
6262
for (const registrations of this._registrations.values()) {
6363
for (const provider of registrations.providers) {
64-
if (provider.scheme !== uri.scheme) {
64+
if (provider.scheme === uri.scheme) {
6565
provider.onDidChangeEmitter.fire(uri);
6666
}
6767
}

0 commit comments

Comments
 (0)