Skip to content

Commit

Permalink
Use rpcnotify() instead of rpcrequest()
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jan 2, 2017
1 parent 8720dcb commit 34d4d45
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion autoload/deoplete.vim
Expand Up @@ -40,7 +40,7 @@ function! deoplete#manual_complete(...) abort

" Start complete.
return (pumvisible() ? "\<C-e>" : '')
\ . "\<C-r>=deoplete#mapping#_rpcnotify_wrapper("
\ . "\<C-r>=deoplete#mapping#_rpcrequest_wrapper("
\ . string(get(a:000, 0, [])) . ")\<CR>"
endfunction
function! deoplete#close_popup() abort
Expand Down
4 changes: 2 additions & 2 deletions autoload/deoplete/mapping.vim
Expand Up @@ -31,8 +31,8 @@ function! deoplete#mapping#_set_completeopt() abort
set completeopt+=noselect
endif
endfunction
function! deoplete#mapping#_rpcnotify_wrapper(sources) abort
call rpcnotify(g:deoplete#_channel_id,
function! deoplete#mapping#_rpcrequest_wrapper(sources) abort
call rpcrequest(g:deoplete#_channel_id,
\ 'deoplete_manual_completion_begin',
\ deoplete#init#_context('Manual', a:sources))
return ''
Expand Down

0 comments on commit 34d4d45

Please sign in to comment.