1
0
Fork 0
mirror of https://github.com/luzifer/vim.git synced 2024-11-12 17:22:48 +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

4
vimrc
View file

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