3
3
" Maintainer: skywind3000 (at) gmail.com, 2016-2024
4
4
" Homepage: https://github.com/skywind3000/asyncrun.vim
5
5
"
6
- " Last Modified: 2024/03/23 00:49
6
+ " Last Modified: 2024/05/14 03:50
7
7
"
8
8
" Run shell command in background and output to quickfix:
9
9
" :AsyncRun[!] [options] {cmd} ...
@@ -1041,7 +1041,7 @@ function! asyncrun#script_write(command, pause)
1041
1041
let tmpname = fnamemodify (tempname (), ' :h' ) . ' /asyncrun.sh'
1042
1042
endif
1043
1043
if v: version >= 700
1044
- call writefile (lines , tmpname)
1044
+ silent ! call writefile (lines , tmpname)
1045
1045
else
1046
1046
exe ' redir ! > ' .fnameescape (tmpname)
1047
1047
for line in lines
@@ -2305,7 +2305,7 @@ endfunc
2305
2305
" asyncrun - version
2306
2306
" ----------------------------------------------------------------------
2307
2307
function ! asyncrun#version ()
2308
- return ' 2.12.5 '
2308
+ return ' 2.12.6 '
2309
2309
endfunc
2310
2310
2311
2311
@@ -2392,7 +2392,7 @@ function! s:program_msys(opts)
2392
2392
let flag = ' --login ' . (get (a: opts , ' inter' , ' ' )? ' -i' : ' ' )
2393
2393
let text = s: shellescape (bash) . flag . ' "' . path . ' "'
2394
2394
let lines += [' call ' . text . " \r " ]
2395
- call writefile (lines , tmpname)
2395
+ silent ! call writefile (lines , tmpname)
2396
2396
let command = a: opts .cmd
2397
2397
let names = [' FILEPATH' , ' FILENAME' , ' FILEDIR' , ' FILENOEXT' ]
2398
2398
let names += [' PATHNOEXT' , ' FILEEXT' , ' FILETYPE' , ' RELDIR' ]
@@ -2410,7 +2410,7 @@ function! s:program_msys(opts)
2410
2410
let cwd = asyncrun#path_win2unix (getcwd (), mount)
2411
2411
let lines += [" cd '" . cwd . " '" ]
2412
2412
let lines += [command ]
2413
- call writefile (lines , script )
2413
+ silent ! call writefile (lines , script )
2414
2414
return tmpname
2415
2415
endfunc
2416
2416
0 commit comments