dot_config/nvim_build.sh

21 lines
466 B
Bash
Raw Normal View History

2023-05-08 08:06:54 -04:00
#!/bin/bash
# Install dependencies
sudo apt-get update
sudo apt-get install -y ninja-build gettext libtool libtool-bin autoconf automake cmake g++ pkg-config unzip
# Clone the Neovim repository
git clone https://github.com/neovim/neovim.git ~/neovim
# Navigate into the Neovim directory
cd ~/neovim
# Checkout the latest release tag
git checkout $(git describe --tags --abbrev=0)
# Build and install Neovim
make CMAKE_BUILD_TYPE=Release
sudo make install
cd -