diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-03-29 22:14:23 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2016-03-29 22:19:11 +0900 |
commit | fd02d75975900df6f736fce2876906309a5bef8b (patch) | |
tree | d67e03918f8891fbccfc4ed9c0042f712da7266c /plugin | |
parent | 49c2713fe77102682f563947640ef343026eb724 (diff) | |
download | deoplete.nvim-fd02d75975900df6f736fce2876906309a5bef8b.zip |
Fix deoplete initialization
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/deoplete.vim | 2 |
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() |