(mode: Mode)
| 94 | return this._currentMode; |
| 95 | } |
| 96 | private async setCurrentMode(mode: Mode): Promise<void> { |
| 97 | if (this.vimState.currentMode !== mode) { |
| 98 | await this.vimState.setCurrentMode(mode); |
| 99 | } |
| 100 | this._currentMode = mode; |
| 101 | } |
| 102 | |
| 103 | public static async create( |
| 104 | handlerMap: IModeHandlerMap, |
no outgoing calls
no test coverage detected