#2132 - Implement deferred command handling for linters

This commit is contained in:
w0rp
2019-02-21 21:24:41 +00:00
parent a8b987a1c3
commit ffa45fa3fb
9 changed files with 102 additions and 11 deletions

View File

@@ -320,6 +320,10 @@ function! ale#command#Run(buffer, command, Callback, ...) abort
call ale#history#Add(a:buffer, l:status, l:job_id, l:command)
endif
if !l:job_id
return 0
endif
" We'll return this Dictionary. A `result_callback` can be assigned to it
" later for capturing the result of a:Callback.
"