1
0
mirror of https://github.com/luzifer/vim.git synced 2024-09-18 18:42:55 +00:00

Use deoplete only on Vim >= 8.0

This commit is contained in:
Knut Ahlers 2017-12-14 15:43:09 +01:00
parent 9183de7bc5
commit 34368c5574
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

14
vimrc
View File

@ -13,12 +13,16 @@ Plug 'Chiel92/vim-autoformat'
Plug 'vim-airline/vim-airline'
Plug 'reedes/vim-pencil'
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
if v:version >= 800
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
else
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
endif
else
Plug 'Shougo/deoplete.nvim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
Plug 'Shougo/neocomplete.vim'
endif
" Languages