summaryrefslogtreecommitdiff
path: root/rplugin
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2019-08-15 08:16:45 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2019-08-15 08:16:45 +0900
commitbb2b16309b94695a3344c713282368b3329a2412 (patch)
treeba2454085e852fefbdb27179b2ac7511cc6e2606 /rplugin
parent15b5cd7fba2cd21af8d74fd1f913d392a9aa5976 (diff)
downloaddeoplete.nvim-bb2b16309b94695a3344c713282368b3329a2412.zip
Add check_stderr option
Diffstat (limited to 'rplugin')
-rw-r--r--rplugin/python3/deoplete/parent.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/rplugin/python3/deoplete/parent.py b/rplugin/python3/deoplete/parent.py
index c7a9995..28dd5d9 100644
--- a/rplugin/python3/deoplete/parent.py
+++ b/rplugin/python3/deoplete/parent.py
@@ -194,7 +194,9 @@ class AsyncParent(_Parent):
if not self._hnd:
return []
- while not self._queue_err.empty():
+ check_stderr = self._vim.call(
+ 'deoplete#custom#_get_option', 'check_stderr')
+ while check_stderr and not self._queue_err.empty():
self._print_error(self._queue_err.get_nowait())
outs = []