1 echo "Sourcing vim-gen-doc-hook"
3 # the doc folder is copied via the copy_directories entry of the rockspec
4 # in the folder gitsigns.nvim-scm-1-rocks/gitsigns.nvim/scm-1
6 echo "Executing vimPluginGenTags"
8 target
="$out/@rtpPath@"
9 mkdir
-p $out/@rtpPath@
12 if [ -d "$target/doc" ]; then
13 echo "Building help tags"
14 if ! @vimBinary@
-N -u NONE
-i NONE
-n -E -s -V1 -c "helptags $target/doc" +quit
!; then
15 echo "Failed to build help tags!"
19 echo "No docs available for $target"
22 if [ -n "$addonInfo" ]; then
23 echo "$addonInfo" > $target/addon-info.json
26 echo "Finished executing vimPluginGenTags"
29 preFixupHooks
+=(vimPluginGenTags
)