diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-09-12 09:01:45 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-09-12 09:01:45 +0900 |
commit | 8ba6baaad8efbfa79861a365ed5d88dbe118d395 (patch) | |
tree | 3ded9d458800d480f52e9a950995c1ea194824a1 /autoload/deoplete.vim | |
parent | 91b5a10cae26718e44b3fb80a9904198350522e6 (diff) | |
download | deoplete.nvim-8ba6baaad8efbfa79861a365ed5d88dbe118d395.zip |
Fix #539 deoplete#toggle()
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r-- | autoload/deoplete.vim | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim index 709e4c1..585a663 100644 --- a/autoload/deoplete.vim +++ b/autoload/deoplete.vim @@ -17,8 +17,9 @@ function! deoplete#disable() abort return deoplete#init#_disable() endfunction function! deoplete#toggle() abort + call deoplete#initialize() return deoplete#init#_is_enabled() ? - \ deoplete#disable() : deoplete#enable() + \ deoplete#init#_disable() : deoplete#init#_enable() endfunction function! deoplete#enable_logging(level, logfile) abort |