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
4
vimrc
4
vimrc
|
@ -13,6 +13,7 @@ Plug 'Chiel92/vim-autoformat'
|
|||
Plug 'vim-airline/vim-airline'
|
||||
Plug 'reedes/vim-pencil'
|
||||
|
||||
if v:version >= 800
|
||||
if has('nvim')
|
||||
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
|
||||
else
|
||||
|
@ -20,6 +21,9 @@ else
|
|||
Plug 'roxma/nvim-yarp'
|
||||
Plug 'roxma/vim-hug-neovim-rpc'
|
||||
endif
|
||||
else
|
||||
Plug 'Shougo/neocomplete.vim'
|
||||
endif
|
||||
|
||||
" Languages
|
||||
Plug 'jakar/vim-json'
|
||||
|
|
Loading…
Reference in a new issue