summaryrefslogtreecommitdiff
path: root/autoload/deoplete.vim
diff options
context:
space:
mode:
authorDaniel Hahler <git@thequod.de>2018-04-30 17:32:12 +0200
committerDaniel Hahler <git@thequod.de>2018-04-30 17:33:02 +0200
commit0389818717102473a7bff50023fd45181a4e03cc (patch)
tree1310db1a2086d775d834b8cd06037fcc47d5e370 /autoload/deoplete.vim
parent33baa1a2d7a2b334e55138a0fd82169116ac2a3a (diff)
downloaddeoplete.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.vim1
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