diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2019-08-31 13:10:52 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2019-08-31 13:10:52 +0900 |
commit | 93722cc5d0a1877fdad0845330b3a41c5e392a34 (patch) | |
tree | 7e524bf808e985e41d8bcabda38d2630a4d5e954 /rplugin | |
parent | 19a089acb7d007b0ad573eca1b5828740870816b (diff) | |
download | deoplete.nvim-93722cc5d0a1877fdad0845330b3a41c5e392a34.zip |
Fix #1006 workaround for manual_complete()
Diffstat (limited to 'rplugin')
-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 1ccd78c..dbdae83 100644 --- a/rplugin/python3/deoplete/deoplete.py +++ b/rplugin/python3/deoplete/deoplete.py @@ -93,7 +93,8 @@ class Deoplete(logger.LoggingMixin): position = -1 candidates = [] - if needs_poll: + # Todo: If max_parents is 1, async completion does not work... + if self._max_parents != 1 and needs_poll: self._vim.call('deoplete#handler#_async_timer_start') if not candidates: |