diff --git a/installs/neovim.sh b/installs/neovim.sh index 5fff9ce..0972dae 100755 --- a/installs/neovim.sh +++ b/installs/neovim.sh @@ -169,6 +169,12 @@ # ─< Main function >───────────────────────────────────────────────────────────────── main() { + if command_exists nvim; then + echo_warning "Neovim is already installed in version: $(nvim --version)" + echo_error "Exiting now!" + exit 0 + fi + echo_info "Starting Neovim installation script..." get_packager if command -v nvim >/dev/null 2>&1; then