summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--autoload/deoplete.vim2
-rw-r--r--autoload/deoplete/mapping.vim2
2 files changed, 2 insertions, 2 deletions
diff --git a/autoload/deoplete.vim b/autoload/deoplete.vim
index f835ffc..b7c329a 100644
--- a/autoload/deoplete.vim
+++ b/autoload/deoplete.vim
@@ -29,7 +29,7 @@ function! deoplete#enable_logging(level, logfile) abort
endif
endif
- call rpcrequest(g:deoplete#_channel_id,
+ call rpcnotify(g:deoplete#_channel_id,
\ 'deoplete_enable_logging', a:level, a:logfile)
endfunction
diff --git a/autoload/deoplete/mapping.vim b/autoload/deoplete/mapping.vim
index ddf591e..3b66ede 100644
--- a/autoload/deoplete/mapping.vim
+++ b/autoload/deoplete/mapping.vim
@@ -32,7 +32,7 @@ function! deoplete#mapping#_set_completeopt() abort
endif
endfunction
function! deoplete#mapping#_rpcnotify_wrapper(sources) abort
- call rpcrequest(g:deoplete#_channel_id,
+ call rpcnotify(g:deoplete#_channel_id,
\ 'deoplete_manual_completion_begin',
\ deoplete#init#_context('Manual', a:sources))
return ''