From 838fcbf0a1e169626fe4ba47cd0dcb91ce7a6f37 Mon Sep 17 00:00:00 2001 From: Alexey Vasyukov Date: Wed, 13 Dec 2017 11:59:31 +0300 Subject: [PATCH] Tuned blame line highlighting --- src/annotations/blameAnnotationProvider.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/annotations/blameAnnotationProvider.ts b/src/annotations/blameAnnotationProvider.ts index e54748f..7934932 100644 --- a/src/annotations/blameAnnotationProvider.ts +++ b/src/annotations/blameAnnotationProvider.ts @@ -57,7 +57,7 @@ export abstract class BlameAnnotationProviderBase extends AnnotationProviderBase } const highlightDecorationRanges = Arrays.filterMap(blame.lines, - l => l.sha !== sha ? this.editor.document.validateRange(new Range(l.line, 0, l.line, 1000000)) : undefined); + l => l.sha === sha ? this.editor.document.validateRange(new Range(l.line, 0, l.line, 1000000)) : undefined); this.editor.setDecorations(this.highlightDecoration, highlightDecorationRanges); }