diff --git a/update b/update index 4d7874e..0b50453 100755 --- a/update +++ b/update @@ -250,27 +250,27 @@ fi ### GENERATE PLUGIN HELP type -P vim >/dev/null && { printf '%s' "$cbg_blue >> Generating plugin help:$c_reset" - $timeout_command --preserve-status --foreground 1m nvim -u ./init.vim -c 'Helptags|qa!' + $timeout_command --preserve-status --foreground 1m nvim -c 'Helptags|qa!' if (( ! $? )); then printf '%s\n' "$cfg_green_bold SUCCESS! $c_reset" else reset -I printf '%s\n' "$cfg_red_bold FAIL! $c_reset" - error "nvim -u './init.vim' -c 'Helptags|qa!'" 'Generating helpdocs for the submodules failed' + error "nvim -c 'Helptags|qa!'" 'Generating helpdocs for the submodules failed' fi } ### UPDATE REMOTE PLUGINS printf '%s' "$cbg_blue >> Updating remote plugins for neovim:$c_reset" -$timeout_command --preserve-status --foreground 1m nvim -u ./init.vim -c ':UpdateRemotePlugins|qa!' +$timeout_command --preserve-status --foreground 1m nvim -c ':UpdateRemotePlugins|qa!' if (( ! $? )); then printf '%s\n' "$cfg_green_bold SUCCESS! $c_reset" else reset -I printf '%s\n' "$cfg_red_bold FAIL! $c_reset" - error "nvim -u ./init.vim -c ':UpdateRemotePlugins|qa!'" 'Updating remote plugins for neovim failed' + error "nvim -c ':UpdateRemotePlugins|qa!'" 'Updating remote plugins for neovim failed' fi ### FINISH