summaryrefslogtreecommitdiff
path: root/autoload/deoplete
diff options
context:
space:
mode:
authorShougo Matsushita <Shougo.Matsu@gmail.com>2019-08-20 22:33:49 +0900
committerShougo Matsushita <Shougo.Matsu@gmail.com>2019-08-20 22:33:49 +0900
commitf40e43d20e5e48b6b1cb566c00806ef215f8a113 (patch)
tree97133489bb573be04f090f71cfb4af67530ccc74 /autoload/deoplete
parent96759e75e3a97ee4dfe37f8b0720f95d3ee8f7cd (diff)
downloaddeoplete.nvim-f40e43d20e5e48b6b1cb566c00806ef215f8a113.zip
Remove dummy mappings
Diffstat (limited to 'autoload/deoplete')
-rw-r--r--autoload/deoplete/init.vim2
-rw-r--r--autoload/deoplete/mapping.vim10
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