vim-repeat icon indicating copy to clipboard operation
vim-repeat copied to clipboard

Fixed error produced with modified off

Open sbdchd opened this issue 9 years ago • 0 comments

Before, when pressing <C-r> in a buffer that has &modified set to 0, repeat would produce an error:

Error detected while processing function repeat#wrap:
line    2:
E21: Cannot make changes, 'modifiable' is off
Press ENTER or type command to continue

Now, repeat checks if the buffer is modifiable before executing.

sbdchd avatar Dec 03 '16 04:12 sbdchd