Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

vimUtils.buildVimPlugin: write vim errors to stderr

Previously vim would silently fail when help tags couldn't be generated.
We need to pass the "verbose" flag (with verbose level 1) to convince
vim to print errors to standard error.

+1 -1
+1 -1
pkgs/misc/vim-plugins/build-vim-plugin.nix
··· 37 # build help tags 38 if [ -d "$target/doc" ]; then 39 echo "Building help tags" 40 - if ! ${vim}/bin/vim -N -u NONE -i NONE -n -E -s -c "helptags $target/doc" +quit!; then 41 echo "Failed to build help tags!" 42 exit 1 43 fi
··· 37 # build help tags 38 if [ -d "$target/doc" ]; then 39 echo "Building help tags" 40 + if ! ${vim}/bin/vim -N -u NONE -i NONE -n -E -s -V1 -c "helptags $target/doc" +quit!; then 41 echo "Failed to build help tags!" 42 exit 1 43 fi