lol

vimUtils.vimGenDocHook: fix tag generation

+5 -2
+3
pkgs/misc/vim-plugins/build-vim-plugin.nix
··· 26 addRtp "${rtpPath}/${path}" attrs (stdenv.mkDerivation (attrs // { 27 name = namePrefix + name; 28 29 nativeBuildInputs = attrs.nativeBuildInputs or [] ++ [ vimGenDocHook ]; 30 inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall; 31
··· 26 addRtp "${rtpPath}/${path}" attrs (stdenv.mkDerivation (attrs // { 27 name = namePrefix + name; 28 29 + # dont move the doc folder since vim expects it 30 + forceShare= [ "man" "info" ]; 31 + 32 nativeBuildInputs = attrs.nativeBuildInputs or [] ++ [ vimGenDocHook ]; 33 inherit unpackPhase configurePhase buildPhase addonInfo preInstall postInstall; 34
+2 -2
pkgs/misc/vim-plugins/vim-gen-doc-hook.sh
··· 5 vimPluginGenTags() { 6 echo "Executing vimPluginGenTags" 7 8 - target="$out/@rtpPath@/$pname" 9 mkdir -p $out/@rtpPath@ 10 11 # build help tags ··· 16 exit 1 17 fi 18 else 19 - echo "No docs available" 20 fi 21 22 if [ -n "$addonInfo" ]; then
··· 5 vimPluginGenTags() { 6 echo "Executing vimPluginGenTags" 7 8 + target="$out/@rtpPath@" 9 mkdir -p $out/@rtpPath@ 10 11 # build help tags ··· 16 exit 1 17 fi 18 else 19 + echo "No docs available for $target" 20 fi 21 22 if [ -n "$addonInfo" ]; then