tpope / vim-repeat

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

Documentation fix for repeat#setreg() #67

Closed inkarkat closed 5 years ago

inkarkat commented 5 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.

This had originally been submitted as #13, but then mistakenly got removed again by #60.