Fix generation of helptags

This commit is contained in:
Kevin MacMartin 2024-03-13 15:01:11 -04:00
parent 7fa989a986
commit 5ecad24a99

4
update
View file

@ -274,14 +274,14 @@ fi
type -P vim >/dev/null && { type -P vim >/dev/null && {
printf '%s' "$cbg_blue >> Generating plugin help:$c_reset" printf '%s' "$cbg_blue >> Generating plugin help:$c_reset"
$timeout_command --preserve-status --foreground 1m nvim -c 'Helptags|qa!' $timeout_command --preserve-status --foreground 1m nvim -c 'helptags ALL|qa!'
if (( ! $? )); then if (( ! $? )); then
printf '%s\n' "$cfg_green_bold SUCCESS! $c_reset" printf '%s\n' "$cfg_green_bold SUCCESS! $c_reset"
else else
reset -I reset -I
printf '%s\n' "$cfg_red_bold FAIL! $c_reset" printf '%s\n' "$cfg_red_bold FAIL! $c_reset"
error "nvim -c 'Helptags|qa!'" 'Generating helpdocs for the submodules failed' error "nvim -c 'helptags ALL|qa!'" 'Generating helpdocs for the submodules failed'
fi fi
} }