summaryrefslogtreecommitdiff
path: root/plugin
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2016-03-29 22:14:23 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2016-03-29 22:19:11 +0900
commitfd02d75975900df6f736fce2876906309a5bef8b (patch)
treed67e03918f8891fbccfc4ed9c0042f712da7266c /plugin
parent49c2713fe77102682f563947640ef343026eb724 (diff)
downloaddeoplete.nvim-fd02d75975900df6f736fce2876906309a5bef8b.zip
Fix deoplete initialization
Diffstat (limited to 'plugin')
-rw-r--r--plugin/deoplete.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/deoplete.vim b/plugin/deoplete.vim
index ea402bf..c3a477f 100644
--- a/plugin/deoplete.vim
+++ b/plugin/deoplete.vim
@@ -12,7 +12,7 @@ let g:loaded_deoplete = 1
command! -nargs=0 -bar DeopleteEnable call deoplete#init#enable()
" Global options definition. "{{{
-if get(g:, 'deoplete#enable_at_startup', 0)
+if get(g:, 'deoplete#enable_at_startup', 0) && !exists('#deoplete')
augroup deoplete
autocmd CursorHold * call deoplete#init#enable()
autocmd InsertEnter * call deoplete#init#enable()