Navigation Menu

Skip to content

Commit

Permalink
Bug fix: Insufficient arguments for printf()
Browse files Browse the repository at this point in the history
  • Loading branch information
xolox committed May 6, 2013
1 parent 427f408 commit e82a7f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions autoload/xolox/shell.vim
@@ -1,9 +1,9 @@
" Vim auto-load script
" Author: Peter Odding <peter@peterodding.com>
" Last Change: May 3, 2013
" Last Change: May 6, 2013
" URL: http://peterodding.com/code/vim/shell/

let g:xolox#shell#version = '0.11.2'
let g:xolox#shell#version = '0.11.3'

call xolox#misc#compat#check('shell', 2)

Expand Down Expand Up @@ -364,7 +364,7 @@ function! s:handle_error(cmd, output) " {{{2
else
let msg .= ' (output: %s)'
let output = strtrans(xolox#misc#str#trim(a:output))
throw printf(msg, string(a:cmd), )
throw printf(msg, string(a:cmd), output)
endif
endif
endfunction
Expand Down

0 comments on commit e82a7f6

Please sign in to comment.