mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-15 19:45:46 +08:00
fix(cmp): use nvim-cmp for nvim v0.7.x or higher
This commit is contained in:
parent
097ea8684d
commit
157e276226
@ -174,8 +174,10 @@ function! s:apply(config, type) abort
|
|||||||
call SpaceVim#logger#warn('deoplete requires +python3!')
|
call SpaceVim#logger#warn('deoplete requires +python3!')
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
elseif value ==# 'nvim-cmp' && !has('nvim')
|
elseif value ==# 'nvim-cmp' && !has('nvim-0.7.0')
|
||||||
call SpaceVim#logger#warn('nvim-cmp requires neovim')
|
" https://github.com/hrsh7th/nvim-cmp/issues/231
|
||||||
|
" nvim-cmp Breaking changes
|
||||||
|
call SpaceVim#logger#warn('nvim-cmp will only work on nvim v0.7.x or higher')
|
||||||
continue
|
continue
|
||||||
endif
|
endif
|
||||||
elseif name ==# 'statusline_right_sections'
|
elseif name ==# 'statusline_right_sections'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user