File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change 3
3
" Maintainer: skywind3000 (at) gmail.com, 2016-2023
4
4
" Homepage: https://github.com/skywind3000/asyncrun.vim
5
5
"
6
- " Last Modified: 2023/09/19 23:48
6
+ " Last Modified: 2023/09/20 09:47
7
7
"
8
8
" Run shell command in background and output to quickfix:
9
9
" :AsyncRun[!] [options] {cmd} ...
@@ -621,7 +621,14 @@ function! s:AsyncRun_Job_OnFinish()
621
621
exec " norm! \<esc> "
622
622
endif
623
623
if s: async_info .post != ' '
624
- exec s: async_info .post
624
+ try
625
+ exec s: async_info .post
626
+ catch
627
+ redraw
628
+ echohl ErrorMsg
629
+ echo ' AsyncRun: ' . v: exception
630
+ echohl None
631
+ endtry
625
632
let s: async_info .post = ' '
626
633
endif
627
634
if g: asyncrun_exit != " "
@@ -2274,7 +2281,7 @@ endfunc
2274
2281
" asyncrun - version
2275
2282
" ----------------------------------------------------------------------
2276
2283
function ! asyncrun#version ()
2277
- return ' 2.11.22 '
2284
+ return ' 2.11.23 '
2278
2285
endfunc
2279
2286
2280
2287
You can’t perform that action at this time.
0 commit comments