Open Cade-Forester opened 10 years ago
How do I reproduce? :silent!
hides all errors so I don't want to introduce it blindly.
Steps to reproduce.
set runtimepath+=~/.vim/bundle/vim-repeat
set columns=40
function! Test____________________________________ ()
normal! dd
silent! call repeat#set( ":call Test____________________________________()\n", v:count )
endfunction
nnoremap <silent> dd :call Test____________________________________()<cr>
Function has a long name.
vim -u NONE -U NONE -i NONE --noplugin -n -N
source /tmp/test.vim
:edit file
dd
and
.
Result: message "Press ENTER or type command to continue"
Sorry, i just test that my patch does not solve problem. Need replace "feedkeys(cmd)" on ":execute cmd", but this break compatibility.
You should be able to work around this by adding a <silent> <Plug>Test
map in the middle to actually :call Test
, and then feed that in as "\<Plug>Test"
.
Do not show "Press ENTER or type command to continue" message after type ".". Prepend "silent!"