diff --git a/src/views/fileHistoryView.ts b/src/views/fileHistoryView.ts index b7d8a63..3c7f73b 100644 --- a/src/views/fileHistoryView.ts +++ b/src/views/fileHistoryView.ts @@ -12,8 +12,14 @@ const pinnedSuffix = ' (pinned)'; export class FileHistoryView extends ViewBase { protected readonly configKey = 'fileHistory'; + private _followCursor: boolean = false; + private _followEditor: boolean = true; + constructor() { super('gitlens.views.fileHistory', 'File History'); + + void setContext(ContextKeys.ViewsFileHistoryCursorFollowing, this._followCursor); + void setContext(ContextKeys.ViewsFileHistoryEditorFollowing, this._followEditor); } protected get showCollapseAll(): boolean { @@ -95,13 +101,6 @@ export class FileHistoryView extends ViewBase