summaryrefslogtreecommitdiff
path: root/autoload/deoplete.vim
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2017-07-16 12:30:24 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2017-07-16 12:30:24 +0900
commit2740a789939e8f13731e8cb34a06b602eef2a744 (patch)
treef92ae8e845137bdc22c71ed66372fc6a0dbcef5e /autoload/deoplete.vim
parent45f7d8e47fadb1be762b49a17704069c11b8a8bd (diff)
downloaddeoplete.nvim-2740a789939e8f13731e8cb34a06b602eef2a744.zip
Fix #513 deoplete logging
Diffstat (limited to 'autoload/deoplete.vim')
-rw-r--r--autoload/deoplete.vim10
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