move from compe to cmp

This commit is contained in:
Barak Michener 2024-06-03 18:05:16 -07:00
parent 6fb63aa116
commit 4a28478156
2 changed files with 68 additions and 119 deletions

View file

@ -157,6 +157,7 @@ Plug 'airblade/vim-rooter'
Plug 'majutsushi/tagbar'
"Plug 'SirVer/ultisnips'
Plug 'dcampos/nvim-snippy'
Plug 'dcampos/cmp-snippy'
Plug 'rafamadriz/friendly-snippets'
Plug 'honza/vim-snippets'
@ -219,7 +220,12 @@ Plug 'cappyzawa/starlark.vim'
"Plug 'romainl/vim-qf'
Plug 'neovim/nvim-lspconfig'
Plug 'nvim-lua/lsp_extensions.nvim'
Plug 'hrsh7th/nvim-compe'
Plug 'hrsh7th/cmp-nvim-lsp'
Plug 'hrsh7th/cmp-buffer'
Plug 'hrsh7th/cmp-path'
"Plug 'hrsh7th/cmp-cmdline'
Plug 'hrsh7th/nvim-cmp'
"Plug 'hrsh7th/nvim-compe'
"Plug 'nvim-lua/completion-nvim'
Plug 'onsails/lspkind-nvim'
@ -339,11 +345,6 @@ let g:completion_matching_strategy_list = ['exact', 'substring', 'fuzzy']
let g:completion_matching_smart_case = 1
let g:completion_sorting = 'length'
inoremap <silent><expr> <CR> compe#confirm('<CR>')
inoremap <silent><expr> <C-e> compe#close('<C-e>')
inoremap <silent><expr> <C-f> compe#scroll({ 'delta': +4 })
inoremap <silent><expr> <C-d> compe#scroll({ 'delta': -4 })
" **** End LSP