From 21916d499f5c6234bd570d9248f4f14e2e72f133 Mon Sep 17 00:00:00 2001 From: Shougo Matsushita Date: Thu, 24 Mar 2016 07:42:37 +0900 Subject: Rename deoplete#util#enable_logging() to deoplete#enable_logging() --- autoload/deoplete.vim | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'autoload') diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim index 944f0eb..ec01c42 100644 --- a/autoload/deoplete.vim +++ b/autoload/deoplete.vim @@ -8,4 +8,14 @@ function! deoplete#initialize() abort "{{{ return deoplete#init#enable() endfunction"}}} +function! deoplete#enable_logging(level, logfile) abort "{{{ + if !deoplete#init#is_enabled() + " Enable to allow logging before completions start. + call deoplete#init#enable() + endif + + call rpcrequest(g:deoplete#_channel_id, + \ 'deoplete_enable_logging', a:level, a:logfile) +endfunction"}}} + " vim: foldmethod=marker -- cgit v1.2.3