diff options
author | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-07-16 12:30:24 +0900 |
---|---|---|
committer | Shougo Matsushita <Shougo.Matsu@gmail.com> | 2017-07-16 12:30:24 +0900 |
commit | 2740a789939e8f13731e8cb34a06b602eef2a744 (patch) | |
tree | f92ae8e845137bdc22c71ed66372fc6a0dbcef5e /autoload/deoplete.vim | |
parent | 45f7d8e47fadb1be762b49a17704069c11b8a8bd (diff) | |
download | deoplete.nvim-2740a789939e8f13731e8cb34a06b602eef2a744.zip |
Fix #513 deoplete logging
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r-- | autoload/deoplete.vim | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim index 19c71f7..709e4c1 100644 --- a/autoload/deoplete.vim +++ b/autoload/deoplete.vim @@ -22,15 +22,7 @@ function! deoplete#toggle() abort endfunction function! deoplete#enable_logging(level, logfile) abort - if !exists('g:deoplete#_channel_id') - " Enable to allow logging before completions start. - if deoplete#init#_channel() - return - endif - endif - - call rpcnotify(g:deoplete#_channel_id, - \ 'deoplete_enable_logging', a:level, a:logfile) + let g:deoplete#_logging = {'level': a:level, 'logfile': a:logfile} endfunction function! deoplete#manual_complete(...) abort |