aboutsummaryrefslogtreecommitdiff
path: root/.vim/after/plugin/deoplete.vim
diff options
context:
space:
mode:
Diffstat (limited to '.vim/after/plugin/deoplete.vim')
-rw-r--r--.vim/after/plugin/deoplete.vim27
1 files changed, 0 insertions, 27 deletions
diff --git a/.vim/after/plugin/deoplete.vim b/.vim/after/plugin/deoplete.vim
deleted file mode 100644
index a422890..0000000
--- a/.vim/after/plugin/deoplete.vim
+++ /dev/null
@@ -1,27 +0,0 @@
-if has('nvim')
- finish
-endif
-
-inoremap <silent><expr><tab> pumvisible() ? "\<c-n>" : "\<tab>"
-inoremap <silent><expr><s-tab> pumvisible() ? "\<c-p>" : "\<s-tab>"
-
-let g:deoplete#enable_at_startup = 1
-
-packadd nvim-yarp
-packadd vim-hug-neovim-rpc
-packadd deoplete.nvim
-packadd deoplete-vim-lsp
-
-call deoplete#custom#option({
- \ 'smart_case': v:true,
- \ 'min_pattern_length': 1,
- \ 'yarp': v:true,
- \ })
-
-call deoplete#custom#source('ultisnips', 'rank', 1000)
-call deoplete#custom#source('lsp', 'rank', 900)
-
-function! s:my_cr_function() abort
- return deoplete#close_popup() . "\<CR>"
-endfunction
-inoremap <silent> <CR> <C-r>=<SID>my_cr_function()<CR>