The script essentially just follows the steps outlined here.
install-nvim-arch
Or
install-nvim-ubuntu
See building neovim for complete instructions.
Neovim is currently very unstable (it is pre-1.0), and each new release brings breaking changes. If you install it with your package manager, it will be updated with each new release, and your plugins may break.
git clone git@github.com:neovim/neovim
sudo nala install ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip curl doxygen
sudo pacman -S base-devel cmake unzip ninja tree-sitter curl
For the latest stable version:
git checkout stable
Or checkout a version that is known to work with your config.
git checkout v0.8.2
From the neovim
directory, run
make CMAKE_BUILD_TYPE=RelWithDebInfo
sudo make install
install-packer
packer-sync
Try :TSUpdate
, it may fix the problem.