mirror of
https://github.com/vim-airline/vim-airline.git
synced 2024-11-22 11:12:09 +08: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)
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user