Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Don't error when missing repeat.vim

  • Loading branch information...
commit 1c9dcee02bc23dc5757c2c8f3cc2e4964ed1e636 1 parent 844d167
@tpope authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugin/unimpaired.vim
View
4 plugin/unimpaired.vim
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.