summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/deoplete/mapping.vim1
1 files changed, 1 insertions, 0 deletions
diff --git a/autoload/deoplete/mapping.vim b/autoload/deoplete/mapping.vim
index 16d127a..ce6246b 100644
--- a/autoload/deoplete/mapping.vim
+++ b/autoload/deoplete/mapping.vim
@@ -24,6 +24,7 @@ function! s:check_completion_info(candidates) abort
if (info.mode !=# '' && info.mode !=# 'eval')
\ || (noinsert && info.selected > 0)
\ || (!noinsert && info.selected >= 0)
+ \ || empty(g:deoplete#_context)
return 1
endif