hg extension did not work on Windows

remove extra file argument

closes #1367
This commit is contained in:
Christian Brabandt 2016-12-31 23:50:39 +01:00
parent bfac656da9
commit 9b1770f246

View File

@ -256,7 +256,7 @@ if s:has_async
function! s:get_mq_async(cmd, file)
if g:airline#util#is_windows && &shell =~ 'cmd'
let cmd = a:cmd. shellescape(a:file)
let cmd = a:cmd
else
let cmd = ['sh', '-c', a:cmd]
endif