VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Nov 11 2019 19:08:24)
Included patches: 1-1763
Modified by bugzilla@redhat.com
Compiled by bugzilla@redhat.com
My system is the latest version, but YouCompleteMe has alerted me that Vim needs 8.1.2269+
https://github.com/ycm-core/YouCompleteMe#note-minimum-requirements-have-changed
The latest updates have increased the minimum supported vim version in line with our policy of supporting the version of vim shipped in the latest Ubuntu LTS. I realise that means a number of users will need to upgrade their vim.
Please help me to fix this issue
Upgrade your vim, see the README for supported version.
Your only other option is to check out an older commit, such as d98f896ada495c3687007313374b2f945a2f2fb4 which is immediately prior to the version bump.
Had the same issue this morning. Unfortunately I have no control over the corporate IT policy.
So no upgrade path for now, :(
This makes me sad, as ' 2:8.1.0875-5' is the latest available version on debian stable.
well this is disappointing.
I encountered same issue on Raspbian 10 (buster), and the latest vim version on the system is 8.1.0875. As @puremourning suggested, downloading older commit did work. 😁
Here is my .vimrc configuration for vim-plug.
Plug 'Valloric/YouCompleteMe', { 'commit':'d98f896' }
You will need to uninstall YouCompleteMe first, then reinstall YCM with this commit version, and as always, run ./install.py under ~/.vim/plugged/YouCompleteMe/ directory.
Why this hardship, even Ubuntu 18.04 LTS won' have this new version of Vim by default.

The version of vim we require is the Ubuntu 18.04 version. That’s the version we run in CI
please use nvim,it has appimage
To save some people some time, here's the wiki on how to compile vim so that YouCompleteMe is happy.
https://github.com/ycm-core/YouCompleteMe/wiki/Building-Vim-from-source
Another solution is to go to the YouCompleteMe directory and sync to the last commit that works for your version of vim:
cd ~/.vim/bundle/YouCompleteMe
git checkout d98f896
I put this in my .vimrc to enable compatibility with both older and new-enough vim:
if has('patch-8.1.2269')
┊ " Latest YCM needs at least this version of vim
┊ Plug 'ycm-core/YouCompleteMe'
else
┊ " Version compatible with the vim in Debian 10 buster
┊ Plug 'ycm-core/YouCompleteMe', { 'commit':'d98f896' }
endif
When my platform lags behind upstream, I often use brew (https://brew.sh/) or nix.
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
will install it to my local user's directory and brew install vim will get me a very recent version of vim on my platform.
Final update: there's now a legacy-vim branch you can switch to.
Most helpful comment
I encountered same issue on Raspbian 10 (buster), and the latest vim version on the system is 8.1.0875. As @puremourning suggested, downloading older commit did work. 😁
Here is my .vimrc configuration for vim-plug.
You will need to uninstall YouCompleteMe first, then reinstall YCM with this commit version, and as always, run
./install.pyunder~/.vim/plugged/YouCompleteMe/directory.