summaryrefslogtreecommitdiff
path: root/rplugin/python3/deoplete
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2016-05-03 12:45:53 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2016-05-03 12:45:53 +0900
commit57f3ba2a55fde86e78b07976fa4ad94305350727 (patch)
tree58d7f421641a349bf074d465e13b459ff09fd52e /rplugin/python3/deoplete
parent8072009975624f2c48e42d21a9c7078970b3fa77 (diff)
downloaddeoplete.nvim-57f3ba2a55fde86e78b07976fa4ad94305350727.zip
Fix mark
Diffstat (limited to 'rplugin/python3/deoplete')
-rw-r--r--rplugin/python3/deoplete/deoplete.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rplugin/python3/deoplete/deoplete.py b/rplugin/python3/deoplete/deoplete.py
index 1a8cb85..15da181 100644
--- a/rplugin/python3/deoplete/deoplete.py
+++ b/rplugin/python3/deoplete/deoplete.py
@@ -169,7 +169,7 @@ class Deoplete(logger.LoggingMixin):
context['candidates'] = source.on_post_filter(context)
candidates = context['candidates']
- if candidates and candidates[0].get(
+ if candidates and source.mark != '' and candidates[0].get(
'menu', '').find(source.mark) != 0:
# Set default menu
for candidate in candidates: