1
0
Fork 0
mirror of https://github.com/luzifer/vim.git synced 2024-12-20 18:31:20 +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 'vim-airline/vim-airline'
Plug 'reedes/vim-pencil' Plug 'reedes/vim-pencil'
if has('nvim') if v:version >= 800
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' } 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 else
Plug 'Shougo/deoplete.nvim' Plug 'Shougo/neocomplete.vim'
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
endif endif
" Languages " Languages