on_exit function fix if self.file is missing

This commit is contained in:
Aditya 2016-10-18 22:23:07 -04:00
parent 8964603844
commit be6e3db68b
No known key found for this signature in database
GPG Key ID: 47174C4ECA28B107

View File

@ -127,7 +127,9 @@ if s:has_async
else
let s:untracked_{self.cmd}[self.file] = ''
endif
if has_key(s:jobs, self.file)
call remove(s:jobs, self.file)
endif
endfunction
function! s:get_vcs_untracked_async(cmd, file)