diff options
Diffstat (limited to 'autoload/deoplete')
-rw-r--r-- | autoload/deoplete/init.vim | 2 | ||||
-rw-r--r-- | autoload/deoplete/mapping.vim | 10 |
2 files changed, 0 insertions, 12 deletions
diff --git a/autoload/deoplete/init.vim b/autoload/deoplete/init.vim index 5774346..1d983c8 100644 --- a/autoload/deoplete/init.vim +++ b/autoload/deoplete/init.vim @@ -30,8 +30,6 @@ function! deoplete#init#_initialize() abort if deoplete#init#_channel() return 1 endif - - call deoplete#mapping#_init() endfunction function! deoplete#init#_channel() abort if !exists('g:deoplete#_serveraddr') diff --git a/autoload/deoplete/mapping.vim b/autoload/deoplete/mapping.vim index 2798b4b..fd1216f 100644 --- a/autoload/deoplete/mapping.vim +++ b/autoload/deoplete/mapping.vim @@ -4,16 +4,6 @@ " License: MIT license "============================================================================= -function! deoplete#mapping#_init() abort - " Note: The dummy function is needed for cpoptions bug in neovim - inoremap <expr><silent> <Plug>_ - \ deoplete#mapping#_dummy('deoplete#mapping#_complete') - inoremap <expr><silent> <Plug>+ - \ deoplete#mapping#_dummy('deoplete#mapping#_prev_complete') -endfunction -function! deoplete#mapping#_dummy(func) abort - return "\<C-r>=".a:func."()\<CR>" -endfunction function! s:check_completion_info(candidates) abort if !exists('*complete_info') return 0 |