#!/bin/bash
git clone --recursive --depth=1 https://github.com/neovim/neovim.git build-neovim
cd build-neovim
git fetch --all --tags
git checkout tags/v0.9.5
rm -rf build
make CMAKE_BUILD_TYPE=Release -j8
sudo make install
cd ..
rm -rf build-neovim