mirror of
https://github.com/luzifer/vim.git
synced 2024-11-09 16:10:00 +00:00
Use deoplete only on Vim >= 8.0
This commit is contained in:
parent
9183de7bc5
commit
34368c5574
1 changed files with 9 additions and 5 deletions
14
vimrc
14
vimrc
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue