From 796730c22fcc7325cf8755ed92e3b65f2a00e021 Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Wed, 1 Mar 2017 02:05:10 -0500 Subject: [PATCH] Allows line blame annotations on gitlens-git schemes --- src/blameActiveLineController.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blameActiveLineController.ts b/src/blameActiveLineController.ts index 6709812..d642984 100644 --- a/src/blameActiveLineController.ts +++ b/src/blameActiveLineController.ts @@ -121,7 +121,7 @@ export default class BlameActiveLineController extends Disposable { const previousEditor = this._editor; previousEditor && previousEditor.setDecorations(activeLineDecoration, []); - if (!e || !e.document || e.document.isUntitled || + if (!e || !e.document || (e.document.isUntitled && e.document.uri.scheme !== DocumentSchemes.Git) || (e.document.uri.scheme !== DocumentSchemes.File && e.document.uri.scheme !== DocumentSchemes.Git) || (e.viewColumn === undefined && !this.git.hasGitUriForFile(e))) { this.clear(e);