Add check for neovim install

This commit is contained in:
aloslider
2026-04-01 14:37:24 +03:00
parent 68239150ee
commit 327ace4d48
+5
View File
@@ -5,6 +5,11 @@ NVIM_DIR="${HOME}/apps/neovim"
BUILD_TYPE="Debug" BUILD_TYPE="Debug"
BRANCH="master" BRANCH="master"
if [[ -x "${NVIM_DIR}/bin/nvim" ]]; then
echo "Neovim already installed at ${NVIM_DIR}"
exit 0
fi
echo "Installing neovim from source" echo "Installing neovim from source"
echo "Target folder: ${NVIM_DIR}" echo "Target folder: ${NVIM_DIR}"
echo "Branch: ${BRANCH}" echo "Branch: ${BRANCH}"