From 336c18e1ebc150dfd276146bc3fc2f00871502ce Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Fri, 26 Jan 2018 08:41:56 +0900 Subject: [PATCH] Fix dein_log source --- rplugin/python3/denite/source/dein_log.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rplugin/python3/denite/source/dein_log.py b/rplugin/python3/denite/source/dein_log.py index 1e6ff5d1..61434671 100644 --- a/rplugin/python3/denite/source/dein_log.py +++ b/rplugin/python3/denite/source/dein_log.py @@ -45,7 +45,9 @@ def make_candidates(row): rows = len(context['__source_log']) candidates = list(map(make_candidates, logs[rows:])) context['__source_log'] = logs - self.vim.call('dein#install#_polling') + + # Needs wait to call Vim output handlers + self.vim.command('sleep 100m') return candidates def highlight(self):