ludovicchabant/vim-gutentags

ERROR: Invalid value for argument cmd and update_gtags.sh is not executable

rockyzhang24 opened this issue · 4 comments

Describe the bug

See the screenshot below please

image

Steps to reproduce
Open any file ( I opened a go file)

Share your setup

  • What OS and version of Vim are you using?
    macOS 12.3.1
    neovim version: NVIM v0.8.0-dev+1660-g9e4286294
  • What version of ctags, gtags, or whatever do you have installed?
    Universal Ctags 5.9.0
    gtags (Global) 6.6.8
  • Are you using g:gutentags_cache_dir?
    Yes. I set it to ~/.cache/tags/. However, if I don't set it, this issue still exists.

Post the logs
image

Additional context
Nothing

Thank you very much.

I was able to fix this with the following workaround,

chmod u+x PATH_TO_PLUGINS_DIR/vim-gutentags/plat/unix/update_gtags.sh

Tested on Arch and Ubuntu

I was able to fix this with the following workaround,

chmod u+x PATH_TO_PLUGINS_DIR/vim-gutentags/plat/unix/update_gtags.sh

Tested on Arch and Ubuntu

Tested on macOS

chmod u+x PATH_TO_PLUGINS_DIR/vim-gutentags/plat/unix/update_gtags.sh

In fact, all the .sh files in this dir should be executable.

chmod u+x PATH_TO_PLUGINS_DIR/vim-gutentags/plat/unix/*.sh

This is fixed with 865d17a. Sorry for the delays.