vim-gutentags icon indicating copy to clipboard operation
vim-gutentags copied to clipboard

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

Open rockyzhang24 opened this issue 3 years ago • 3 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.

rockyzhang24 avatar May 14 '22 06:05 rockyzhang24

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

ragu-manjegowda avatar May 17 '22 12:05 ragu-manjegowda

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

MrZLeo avatar May 18 '22 15:05 MrZLeo

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

wow-yes avatar Jul 19 '22 02:07 wow-yes

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

ludovicchabant avatar Nov 27 '22 20:11 ludovicchabant