diff --git a/neovim.sh b/neovim.sh index 0a4d150..9b06380 100644 --- a/neovim.sh +++ b/neovim.sh @@ -107,8 +107,10 @@ if [ -d "$HOME/.config/nvim/" ]; then # echo_pkg qol "Prefetching neovim setup configuration.." spin "Prefetching neovim setup configuration.." - if nvim --headless +q; then + if run nvim --headless +q; then check "Prefetched config" + else + throw "Prefetching config went terribly wrong!" fi else # echo_warning "You don't have a neovim config installed. Do you want to clone one now? [Y]es (standard), [m]inimal, [n]o"