commit 3e032f295fccadcae60d83bb426b09e302278343 (tree)
parent 0d8dc0f31c82dfecaec2ce4b7670d8c9b85ec7fa
Author: Tim Pope <code@tpope.net>
Date: Tue, 31 Aug 2021 14:51:00 -0400
Clean up job dictionary entry after nvim job completes
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/autoload/fugitive.vim b/autoload/fugitive.vim
@@ -291,6 +291,7 @@ function! s:JobNvimExit(dict, callback, job, data, type) dict abort
let a:dict.stdout = self.stdout
let a:dict.stderr = self.stderr
let a:dict.exit_status = a:data
+ call remove(a:dict, 'job')
call call(a:callback[0], [a:dict] + a:callback[1:-1])
endfunction