mirror of
https://github.com/ckaczor/vscode-gitlens.git
synced 2026-01-19 17:25:57 -05:00
Fixes failure when filename changes in history
Removes CodeLens from fields and single-line properties to reduce visual noise
This commit is contained in:
@@ -9,7 +9,7 @@ import * as moment from 'moment';
|
||||
const blameDecoration: TextEditorDecorationType = window.createTextEditorDecorationType({
|
||||
before: {
|
||||
color: '#5a5a5a',
|
||||
margin: '0 1em 0 0',
|
||||
margin: '0 1.75em 0 0',
|
||||
width: '5em'
|
||||
},
|
||||
});
|
||||
@@ -95,7 +95,7 @@ class GitBlameEditorController extends Disposable {
|
||||
constructor(private context: ExtensionContext, private git: GitProvider, public editor: TextEditor) {
|
||||
super(() => this.dispose());
|
||||
|
||||
const fileName = this.editor.document.uri.path;
|
||||
const fileName = this.editor.document.uri.fsPath;
|
||||
this._blame = this.git.getBlameForFile(fileName);
|
||||
|
||||
const subscriptions: Disposable[] = [];
|
||||
|
||||
Reference in New Issue
Block a user