diff --git a/nvchad.sh b/nvchad.sh new file mode 100755 index 0000000..1d5d5a6 --- /dev/null +++ b/nvchad.sh @@ -0,0 +1 @@ +git clone git@gitea.hptrow.me:pt/nvchad ~/.config/nvim diff --git a/nvim_build.sh b/nvim_build.sh new file mode 100755 index 0000000..a7c11f8 --- /dev/null +++ b/nvim_build.sh @@ -0,0 +1,20 @@ +#!/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 -