diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-03-09 07:37:49 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-03-09 07:37:49 +0900 |
commit | bcb89a76d75e4eafaad2cf60fa0c77a092298192 (patch) | |
tree | 86ca84f663d5d012f2be1402754deba2d4ad7338 /rplugin/python3 | |
parent | b6f716589b8600454efcd39b28186ba2e0e0ca5a (diff) | |
download | deoplete.nvim-bcb89a76d75e4eafaad2cf60fa0c77a092298192.zip |
Fix #443 gather_results()
Diffstat (limited to 'rplugin/python3')
-rw-r--r-- | rplugin/python3/deoplete/deoplete.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rplugin/python3/deoplete/deoplete.py b/rplugin/python3/deoplete/deoplete.py index d6c0852..ab4af7a 100644 --- a/rplugin/python3/deoplete/deoplete.py +++ b/rplugin/python3/deoplete/deoplete.py @@ -124,7 +124,8 @@ class Deoplete(logger.LoggingMixin): ctx['candidates'] = source.gather_candidates(ctx) self.profile_end(source.name) - if 'candidates' not in ctx or not ctx['candidates']: + if not ctx['is_async'] and ('candidates' not in ctx or + not ctx['candidates']): continue ctx['candidates'] = convert2candidates(ctx['candidates']) |