diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-05-03 12:45:53 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-05-03 12:45:53 +0900 |
commit | 57f3ba2a55fde86e78b07976fa4ad94305350727 (patch) | |
tree | 58d7f421641a349bf074d465e13b459ff09fd52e /rplugin/python3/deoplete | |
parent | 8072009975624f2c48e42d21a9c7078970b3fa77 (diff) | |
download | deoplete.nvim-57f3ba2a55fde86e78b07976fa4ad94305350727.zip |
Fix mark
Diffstat (limited to 'rplugin/python3/deoplete')
-rw-r--r-- | rplugin/python3/deoplete/deoplete.py | 2 |
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: |