mirror of
https://github.com/vim-airline/vim-airline.git
synced 2026-10-04 19:28:46 +08:00
hg extension did not work on Windows
remove extra file argument closes #1367
This commit is contained in:
1 parent
bfac656da9
commit
9b1770f246
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user