From 6be3e6116269be544e36af4e05728a991013ee84 Mon Sep 17 00:00:00 2001 From: eph Date: Tue, 11 Jun 2024 23:57:44 +0800 Subject: [PATCH] Log "with code 0" when s:async_code == 0 --- plugin/asyncrun.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/asyncrun.vim b/plugin/asyncrun.vim index a8388da..443f7fd 100644 --- a/plugin/asyncrun.vim +++ b/plugin/asyncrun.vim @@ -598,7 +598,7 @@ function! s:AsyncRun_Job_OnFinish() let l:last = l:current - s:async_start let l:check = s:AsyncRun_Job_CheckScroll() if s:async_code == 0 - let l:text = "[Finished in ".l:last." seconds]" + let l:text = "[Finished in ".l:last." seconds with code 0]" if !s:async_info.strip call s:AppendText([l:text], 1) endif