summaryrefslogtreecommitdiff
path: root/autoload/deoplete/handler.vim
diff options
context:
space:
mode:
Diffstat (limited to 'autoload/deoplete/handler.vim')
-rw-r--r--autoload/deoplete/handler.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/autoload/deoplete/handler.vim b/autoload/deoplete/handler.vim
index 8f6e0d8..c9ce1e2 100644
--- a/autoload/deoplete/handler.vim
+++ b/autoload/deoplete/handler.vim
@@ -314,6 +314,11 @@ function! s:matched_indentkeys(input) abort
\ : matchstr(v:val, ':\\|e\\|=\\zs.*')"),
\ "v:val !=# ''")
+ if word ==# ':' && &filetype ==# 'vim'
+ " ':' completion must not be skipped
+ continue
+ endif
+
if word ==# 'e'
let word = 'else'
endif