vimUtils.vimGenDocHook: fix tag generation

main
Matthieu Coudron 3 years ago
parent 087e816e37
commit 57131f173e
  1. 3
      pkgs/misc/vim-plugins/build-vim-plugin.nix
  2. 4
      pkgs/misc/vim-plugins/vim-gen-doc-hook.sh

@ -26,6 +26,9 @@ rec {
addRtp "${rtpPath}/${path}" attrs (stdenv.mkDerivation (attrs // {
name = namePrefix + name;
# dont move the doc folder since vim expects it
forceShare= [ "man" "info" ];
nativeBuildInputs = attrs.nativeBuildInputs or [] ++ [ vimGenDocHook ];
inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall;

@ -5,7 +5,7 @@ echo "Sourcing vim-gen-doc-hook"
vimPluginGenTags() {
echo "Executing vimPluginGenTags"
target="$out/@rtpPath@/$pname"
target="$out/@rtpPath@"
mkdir -p $out/@rtpPath@
# build help tags
@ -16,7 +16,7 @@ vimPluginGenTags() {
exit 1
fi
else
echo "No docs available"
echo "No docs available for $target"
fi
if [ -n "$addonInfo" ]; then

Loading…
Cancel
Save