Make the job handling code handle the scripts being reloaded better

This commit is contained in:
w0rp
2017-05-21 16:16:06 +01:00
parent ab44d05508
commit d511b02ebe
2 changed files with 19 additions and 7 deletions

View File

@@ -7,7 +7,10 @@
" linter: The linter dictionary for the job.
" buffer: The buffer number for the job.
" output: The array of lines for the output of the job.
let s:job_info_map = {}
if !has_key(s:, 'job_info_map')
let s:job_info_map = {}
endif
let s:executable_cache_map = {}
" Check if files are executable, and if they are, remember that they are