jsfaint / gen_tags.vim

Async plugin for vim and neovim to ease the use of ctags/gtags
https://vim.sourceforge.io/scripts/script.php?script_id=5499
MIT License
312 stars 42 forks source link

g:gen_tags#use_cache_dir creates useless directories when used with vim-fugitive #83

Closed ian-howell closed 5 years ago

ian-howell commented 5 years ago

Tpope's vim-fugitive plugin creates a temporary 'fugitive:' directory when the :Gdiff, :Gvdiff, :Gsdiff, and possibly other commands are issued. If g:gen_tags#use_cache_dir is set to 0, gen_tags will create a tags file for that directory, preventing it from being deleted, which in turn causes it to show up in the git index, as well as getting in the way of things such as go fmt.

How to reproduce:

jsfaint commented 5 years ago

Sorry for the late reply. I can't reproduce this issue. If g:gen_tags#use_cache_dir is set to 0, gen_tags.vim will only create a folder tags_dir under .git.

jsfaint commented 5 years ago

@ian-howell Any updates?

jsfaint commented 5 years ago

Close, since there is no update for a long term If you have any update, please reopen it. thanks