Browse Source

Tuned blame line highlighting

main
Alexey Vasyukov 7 years ago
committed by Eric Amodio
parent
commit
838fcbf0a1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/annotations/blameAnnotationProvider.ts

+ 1
- 1
src/annotations/blameAnnotationProvider.ts View File

@ -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);
}

Loading…
Cancel
Save