diff options
author | Daniel Hahler <git@thequod.de> | 2018-04-30 17:32:12 +0200 |
---|---|---|
committer | Daniel Hahler <git@thequod.de> | 2018-04-30 17:33:02 +0200 |
commit | 0389818717102473a7bff50023fd45181a4e03cc (patch) | |
tree | 1310db1a2086d775d834b8cd06037fcc47d5e370 /autoload/deoplete.vim | |
parent | 33baa1a2d7a2b334e55138a0fd82169116ac2a3a (diff) | |
download | deoplete.nvim-0389818717102473a7bff50023fd45181a4e03cc.zip |
deoplete#is_enabled: do not initialize
Calling `deoplete#is_enabled()` should not trigger initialization, but
only return the current status of deoplete being enabled.
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r-- | autoload/deoplete.vim | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim index b0cdac4..d647795 100644 --- a/autoload/deoplete.vim +++ b/autoload/deoplete.vim @@ -8,7 +8,6 @@ function! deoplete#initialize() abort return deoplete#init#_initialize() endfunction function! deoplete#is_enabled() abort - call deoplete#initialize() return deoplete#init#_is_handler_enabled() endfunction function! deoplete#enable() abort |