diff options
Diffstat (limited to 'nixpkgs/pkgs/misc/vim-plugins/vim-gen-doc-hook.sh')
-rw-r--r-- | nixpkgs/pkgs/misc/vim-plugins/vim-gen-doc-hook.sh | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/nixpkgs/pkgs/misc/vim-plugins/vim-gen-doc-hook.sh b/nixpkgs/pkgs/misc/vim-plugins/vim-gen-doc-hook.sh deleted file mode 100644 index d5f0a00ebcc2..000000000000 --- a/nixpkgs/pkgs/misc/vim-plugins/vim-gen-doc-hook.sh +++ /dev/null @@ -1,30 +0,0 @@ -echo "Sourcing vim-gen-doc-hook" - -# the doc folder is copied via the copy_directories entry of the rockspec -# in the folder gitsigns.nvim-scm-1-rocks/gitsigns.nvim/scm-1 -vimPluginGenTags() { - echo "Executing vimPluginGenTags" - - target="$out/@rtpPath@" - mkdir -p $out/@rtpPath@ - - # build help tags - if [ -d "$target/doc" ]; then - echo "Building help tags" - if ! @vimBinary@ -N -u NONE -i NONE -n -E -s -V1 -c "helptags $target/doc" +quit!; then - echo "Failed to build help tags!" - exit 1 - fi - else - echo "No docs available for $target" - fi - - if [ -n "$addonInfo" ]; then - echo "$addonInfo" > $target/addon-info.json - fi - - echo "Finished executing vimPluginInstallPhase" -} - -preFixupHooks+=(vimPluginGenTags) - |