Refactors git modules - unify under gitProvider

Adds advanced setting to enable blame cache
Fixes codelens settings to actually work
This commit is contained in:
Eric Amodio
2016-09-19 00:24:19 -04:00
parent 05865d014e
commit c69a160ea5
12 changed files with 354 additions and 284 deletions

View File

@@ -1,3 +1,5 @@
'use strict'
export type BlameAnnotationStyle = 'compact' | 'expanded';
export const BlameAnnotationStyle = {
Compact: 'compact' as BlameAnnotationStyle,
@@ -29,4 +31,16 @@ export interface ICodeLensConfig {
export interface ICodeLensesConfig {
recentChange: ICodeLensConfig;
authors: ICodeLensConfig;
}
export interface IAdvancedConfig {
caching: {
enabled: boolean
}
}
export interface IConfig {
blame: IBlameConfig,
codeLens: ICodeLensesConfig,
advanced: IAdvancedConfig
}