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

If the previous GenGTAGS exit abnormally, it will not be updated by use GenGTAGS again #54

Closed fcying closed 6 years ago

fcying commented 6 years ago

reproduce ways:

cd linux
vim
:GenGTAGS
:q  # befor GenGTAGS end
vim
:GenGTAGS #not update 
jsfaint commented 6 years ago

Yes, it's known issue, it's a limitation in global commands.

$ global -u
gtags: /Users/jiasui/.cache/tags_dir/Usersjiasuireposlinux-stable/GTAGS seems corrupted.

Maybe I can check the size of gtags files, if the file size is 0, then delete it and generate again.

jsfaint commented 6 years ago

@fcying fixed. thanks 😄