mirror of
https://github.com/vim-airline/vim-airline.git
synced 2025-07-22 21:45:06 +02:00
hg extension did not work on Windows
remove extra file argument closes #1367
This commit is contained in:
parent
bfac656da9
commit
9b1770f246
@ -256,7 +256,7 @@ if s:has_async
|
|||||||
|
|
||||||
function! s:get_mq_async(cmd, file)
|
function! s:get_mq_async(cmd, file)
|
||||||
if g:airline#util#is_windows && &shell =~ 'cmd'
|
if g:airline#util#is_windows && &shell =~ 'cmd'
|
||||||
let cmd = a:cmd. shellescape(a:file)
|
let cmd = a:cmd
|
||||||
else
|
else
|
||||||
let cmd = ['sh', '-c', a:cmd]
|
let cmd = ['sh', '-c', a:cmd]
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user