summaryrefslogtreecommitdiff
path: root/rplugin
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2016-12-20 07:59:52 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2016-12-20 08:00:10 +0900
commit3d40a9394cd3799cb1ad8b6a83a3eebd6724a8e7 (patch)
treef3e324e06a3cc3e06f0734e47aa7e95db810d698 /rplugin
parent640fcb05dd8db9f37005aa0e868682d466630ecc (diff)
downloaddeoplete.nvim-3d40a9394cd3799cb1ad8b6a83a3eebd6724a8e7.zip
Fix #402 manual_complete() problem
Diffstat (limited to 'rplugin')
-rw-r--r--rplugin/python3/deoplete/deoplete.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rplugin/python3/deoplete/deoplete.py b/rplugin/python3/deoplete/deoplete.py
index 936117e..8327134 100644
--- a/rplugin/python3/deoplete/deoplete.py
+++ b/rplugin/python3/deoplete/deoplete.py
@@ -55,7 +55,8 @@ class Deoplete(logger.LoggingMixin):
}
self.__vim.feedkeys(context['start_complete'])
- if self.__vim.call('has', 'patch-7.4.1758'):
+ if self.__vim.call(
+ 'has', 'patch-7.4.1758') and context['event'] != 'Manual':
self.__vim.feedkeys('', 'x!')
def gather_candidates(self, context):