(repeat)
| 5633 | } |
| 5634 | } |
| 5635 | function repeatInsert(repeat) { |
| 5636 | if (macroModeState.lastInsertModeChanges.changes.length > 0) { |
| 5637 | // For some reason, repeat cw in desktop VIM does not repeat |
| 5638 | // insert mode changes. Will conform to that behavior. |
| 5639 | repeat = !vim.lastEditActionCommand ? 1 : repeat; |
| 5640 | var changeObject = macroModeState.lastInsertModeChanges; |
| 5641 | repeatInsertModeChanges(cm, changeObject.changes, repeat); |
| 5642 | } |
| 5643 | } |
| 5644 | vim.inputState = vim.lastEditInputState; |
| 5645 | if (isAction && vim.lastEditActionCommand.interlaceInsertRepeat) { |
| 5646 | // o and O repeat have to be interlaced with insert repeats so that the |
no test coverage detected