diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-10-26 06:56:25 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-10-26 06:56:25 +0900 |
commit | a3bab7341a8ae85a2345d634d61ba54fd9271d78 (patch) | |
tree | 09ec341b12f6e42571d980799eaae21836f21afb /rplugin | |
parent | 89d6d275ae2f5a42d8177d2211d151c0395f4875 (diff) | |
download | deoplete.nvim-a3bab7341a8ae85a2345d634d61ba54fd9271d78.zip |
Fix #363 omni error messages
Diffstat (limited to 'rplugin')
-rw-r--r-- | rplugin/python3/deoplete/source/omni.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rplugin/python3/deoplete/source/omni.py b/rplugin/python3/deoplete/source/omni.py index 368f450..7948d1c 100644 --- a/rplugin/python3/deoplete/source/omni.py +++ b/rplugin/python3/deoplete/source/omni.py @@ -66,6 +66,8 @@ class Source(Base): try: complete_pos = self.vim.call(self.__omnifunc, 1, '') except: + error(self.vim, self.vim.eval('v:throwpoint')) + error(self.vim, self.vim.eval('v:exception')) error(self.vim, 'Error occurred calling omnifunction: ' + self.__omnifunc) @@ -85,6 +87,8 @@ class Source(Base): elif candidates is int: candidates = [] except: + error(self.vim, self.vim.eval('v:throwpoint')) + error(self.vim, self.vim.eval('v:exception')) error(self.vim, 'Error occurred calling omnifunction: ' + self.__omnifunc) |