Skip to content

Commit

Permalink
Replace roxma/nvim-completion-manager with deoplete.
Browse files Browse the repository at this point in the history
* The former ceased to work after I installed Python 3.7 via Homebrew.
* When looking at issues on the ncm repo I found out that it is no longer maintained.
* roxma/nvim-completion-manager#12 (comment)
  • Loading branch information
joshukraine committed Jul 2, 2018
1 parent 40d2f0b commit b52e761
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -279,11 +279,14 @@ Plug 'machakann/vim-highlightedyank' " Make the yanked region apparent!

" Code Completion
if has('nvim')
Plug 'roxma/nvim-completion-manager' " Async Completion Framework for Neovim | https://github.com/roxma/nvim-completion-manager
Plug 'roxma/ncm-rct-complete' " Required for Ruby completion | https://github.com/roxma/ncm-rct-complete
Plug 'roxma/nvim-cm-tern',
\ {'do': 'npm install'} " Javascript completion for nvim-completion-manager. | https://github.com/roxma/nvim-cm-tern
Plug 'Shougo/deoplete.nvim',
\ { 'do': ':UpdateRemotePlugins' } " Asynchronous completion framework for neovim/Vim8 | https://github.com/Shougo/deoplete.nvim
else
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
endif
let g:deoplete#enable_at_startup = 1
Plug 'SirVer/ultisnips' " The ultimate snippet solution for Vim | https://github.com/sirver/UltiSnips
Plug 'othree/csscomplete.vim' " CSS Omni Complete Function for CSS3 | https://github.com/othree/csscomplete.vim

Expand Down Expand Up @@ -330,12 +333,6 @@ call plug#end()

" Plugin-specifc Mappings & Settings

" nvim-completion-manager
if has('nvim')
inoremap <expr> <C-j> pumvisible() ? "\<C-n>" : "\<C-j>"
inoremap <expr> <C-k> pumvisible() ? "\<C-p>" : "\<C-k>"
endif

" UltiSnips
let g:UltiSnipsEditSplit = 'horizontal'
let g:UltiSnipsSnippetsDir = '~/.vim/UltiSnips'
Expand Down

0 comments on commit b52e761

Please sign in to comment.