Merge pull request #1294 from asbhat/master
on_exit function fix if self.file is missing
This commit is contained in:
commit
64d91665fe
|
@ -127,7 +127,9 @@ if s:has_async
|
|||
else
|
||||
let s:untracked_{self.cmd}[self.file] = ''
|
||||
endif
|
||||
call remove(s:jobs, self.file)
|
||||
if has_key(s:jobs, self.file)
|
||||
call remove(s:jobs, self.file)
|
||||
endif
|
||||
endfunction
|
||||
|
||||
function! s:get_vcs_untracked_async(cmd, file)
|
||||
|
|
Loading…
Reference in New Issue