summaryrefslogtreecommitdiff
path: root/autoload/deoplete.vim
blob: ec01c4236242a8a57bda499305b6cc35e82ec2b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
"=============================================================================
" FILE: deoplete.vim
" AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com>
" License: MIT license
"=============================================================================

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