Added @registername to status bar when recording macro

This commit is contained in:
xconverge 2016-10-18 19:24:51 -07:00
parent f1eeabd616
commit d812e7261d

View File

@ -1496,8 +1496,8 @@ export class ModeHandler implements vscode.Disposable {
this.setupStatusBarItem(`Searching for: ${ this.vimState.searchState!.searchString }`);
} else {
this.setupStatusBarItem(
`-- ${ this.currentMode.text.toUpperCase() } ${ this._vimState.isMultiCursor ? 'MULTI CURSOR' : '' } -- ` +
`${this._vimState.isRecordingMacro ? 'Recording' : ''}`);
`-- ${this.currentMode.text.toUpperCase()} ${this._vimState.isMultiCursor ? 'MULTI CURSOR' : ''} -- ` +
`${this._vimState.isRecordingMacro ? 'Recording @' + this._vimState.recordedMacro.registerName : ''}`);
}
vscode.commands.executeCommand('setContext', 'vim.mode', this.currentMode.text);