Fixing default argument

This commit is contained in:
Alex Yatskov 2014-12-07 12:32:31 +09:00
parent 20227f2c6e
commit 3b0dc93b22

View File

@ -188,7 +188,7 @@ function! argwrap#unwrapContainer(range, container, arguments)
endfunction endfunction
function! argwrap#toggle(...) function! argwrap#toggle(...)
let l:style = a:0 == 0 ? 'default' : 'bx' let l:style = a:0 == 0 ? 'default' : a:1
let l:cursor = getpos('.') let l:cursor = getpos('.')
let l:range = argwrap#findClosestRange() let l:range = argwrap#findClosestRange()