diff --git a/src/annotations/blameAnnotationProvider.ts b/src/annotations/blameAnnotationProvider.ts index aecc8e4..3c7deeb 100644 --- a/src/annotations/blameAnnotationProvider.ts +++ b/src/annotations/blameAnnotationProvider.ts @@ -146,6 +146,8 @@ export abstract class BlameAnnotationProviderBase extends AnnotationProviderBase ): Promise { if (Container.config.hovers.annotations.over !== 'line' && position.character !== 0) return undefined; + if (this.document.uri.toString(true) !== document.uri.toString(true)) return undefined; + const blame = await this.getBlame(); if (blame == null) return undefined;