Adds new trailing annotation mode

Adds message setting to annotations
Adds active line annotations & setting
This commit is contained in:
Eric Amodio
2017-02-06 13:14:38 -05:00
parent 589ec6cef3
commit dfacc2bf6e
5 changed files with 396 additions and 149 deletions

View File

@@ -1,10 +1,11 @@
'use strict';
import { Commands } from './constants';
export type BlameAnnotationStyle = 'compact' | 'expanded';
export type BlameAnnotationStyle = 'compact' | 'expanded' | 'trailing';
export const BlameAnnotationStyle = {
Compact: 'compact' as BlameAnnotationStyle,
Expanded: 'expanded' as BlameAnnotationStyle
Expanded: 'expanded' as BlameAnnotationStyle,
Trailing: 'trailing' as BlameAnnotationStyle
};
export interface IBlameConfig {
@@ -12,7 +13,11 @@ export interface IBlameConfig {
style: BlameAnnotationStyle;
sha: boolean;
author: boolean;
date: boolean;
date: 'off' | 'relative' | 'absolute';
message: boolean;
activeLine: {
enabled: boolean;
};
};
}