diff options
| author | kylo252 <[email protected]> | 2022-06-23 16:11:47 +0200 | 
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-23 16:11:47 +0200 | 
| commit | 8989984b781367b2744c4857e73d8943311db241 (patch) | |
| tree | 29aba4fb65811b8bb3643ac7ef24eff6df8457c8 /utils/installer/install.sh | |
| parent | ecd344128734fe6b0772505e22922dea28338e26 (diff) | |
feat(installer): add verify-plugins hook (#2751)
Diffstat (limited to 'utils/installer/install.sh')
| -rwxr-xr-x | utils/installer/install.sh | 11 | 
1 files changed, 11 insertions, 0 deletions
| diff --git a/utils/installer/install.sh b/utils/installer/install.sh index 2903dd7f..ec675e6d 100755 --- a/utils/installer/install.sh +++ b/utils/installer/install.sh @@ -206,6 +206,15 @@ function check_neovim_min_version() {    fi  } +function verify_core_plugins() { +  msg "Verifying core plugins" +  if ! bash "$LUNARVIM_BASE_DIR/utils/ci/verify_plugins.sh"; then +    echo "[ERROR]: Unable to verify plugins, makde sure to manually run ':PackerSync' when starting lvim for the first time." +    exit 1 +  fi +  echo "Verification complete!" +} +  function validate_lunarvim_files() {    local verify_version_cmd='if v:errmsg != "" | cquit | else | quit | endif'    if ! "$INSTALL_PREFIX/bin/lvim" --headless -c 'LvimUpdate' -c "$verify_version_cmd" &>/dev/null; then @@ -418,6 +427,8 @@ function setup_lvim() {      -c 'PackerSync'    echo "Packer setup complete" + +  verify_core_plugins  }  function print_logo() { | 
