mirror of
https://github.com/tpope/vim-fugitive.git
synced 2025-11-09 20:13:46 -05:00
Clean up job dictionary entry after nvim job completes
This commit is contained in:
@@ -291,6 +291,7 @@ function! s:JobNvimExit(dict, callback, job, data, type) dict abort
|
|||||||
let a:dict.stdout = self.stdout
|
let a:dict.stdout = self.stdout
|
||||||
let a:dict.stderr = self.stderr
|
let a:dict.stderr = self.stderr
|
||||||
let a:dict.exit_status = a:data
|
let a:dict.exit_status = a:data
|
||||||
|
call remove(a:dict, 'job')
|
||||||
call call(a:callback[0], [a:dict] + a:callback[1:-1])
|
call call(a:callback[0], [a:dict] + a:callback[1:-1])
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user