tpope / vim-repeat

repeat.vim: enable repeating supported plugin maps with "."
http://www.vim.org/scripts/script.php?script_id=2136
2.59k stars 81 forks source link

Documentation fix for repeat#setreg() #13

Closed inkarkat closed 11 years ago

inkarkat commented 11 years ago

Need to :execute the :silent! call to avoid that the remainder of the command line is aborted together with the call when repeat.vim is not installed. Otherwise, <SID>MyFunction() won't be invoked, and the mapping does nothing.

David Kotchan reported this problem for one of my plugins, I fixed the problem there; now, it would be nice if the documentation for this (rarely used) feature is corrected, too.

tpope commented 11 years ago

Cheers