Richer blame info & highlight (wip)

This commit is contained in:
Eric Amodio
2016-08-14 02:03:36 -04:00
parent b08044fc18
commit 03d4cc8597
5 changed files with 157 additions and 61 deletions

View File

@@ -19,7 +19,7 @@ export function activate(context: ExtensionContext) {
return commands.executeCommand(VsCodeCommands.ShowReferences, ...args);
}));
let selector: DocumentSelector = { scheme: 'file' };
const selector: DocumentSelector = { scheme: 'file' };
context.subscriptions.push(languages.registerCodeLensProvider(selector, new GitCodeLensProvider(repoPath)));
}).catch(reason => console.warn(reason));
}