Merge pull request #1294 from asbhat/master

on_exit function fix if self.file is missing
This commit is contained in:
Christian Brabandt 2016-10-19 08:08:06 +02:00 committed by GitHub
commit 64d91665fe
1 changed files with 3 additions and 1 deletions

View File

@ -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)