Permalink
Browse files

Don't error when missing repeat.vim

  • Loading branch information...
1 parent 844d167 commit 1c9dcee02bc23dc5757c2c8f3cc2e4964ed1e636 @tpope committed Sep 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugin/unimpaired.vim
View
@@ -105,13 +105,13 @@ omap ]> V:call search('^>>>>>>>','W')<CR>
function! s:BlankUp(count) abort
put!=repeat(nr2char(10), a:count)
']+1
- call repeat#set("\<Plug>unimpairedBlankUp", a:count)
+ silent! call repeat#set("\<Plug>unimpairedBlankUp", a:count)
endfunction
function! s:BlankDown(count) abort
put =repeat(nr2char(10), a:count)
'[-1
- call repeat#set("\<Plug>unimpairedBlankDown", a:count)
+ silent! call repeat#set("\<Plug>unimpairedBlankDown", a:count)
endfunction
nnoremap <silent> <Plug>unimpairedBlankUp :<C-U>call <SID>BlankUp(v:count1)<CR>

0 comments on commit 1c9dcee

Please sign in to comment.