diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-10-15 19:20:24 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-10-15 19:20:24 +0900 |
commit | 7d3ce4181fd64b98e5e1045fa00953e9671fe69d (patch) | |
tree | 974afe09089b028db444704b80cf4791bc496cf0 /plugin | |
parent | ae31423db42d0b2ea4100300014237e4a3618aca (diff) | |
download | deoplete.nvim-7d3ce4181fd64b98e5e1045fa00953e9671fe69d.zip |
Fix lazy loading problem
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/deoplete.vim | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugin/deoplete.vim b/plugin/deoplete.vim index bc9c822..7377e7b 100644 --- a/plugin/deoplete.vim +++ b/plugin/deoplete.vim @@ -11,5 +11,9 @@ let g:loaded_deoplete = 1 " Global options definition. if get(g:, 'deoplete#enable_at_startup', 0) - autocmd VimEnter * call deoplete#enable() + if has('vim_starting') + autocmd VimEnter * call deoplete#enable() + else + call deoplete#enable() + endif endif |