ludovicchabant / vim-gutentags

A Vim plugin that manages your tag files
https://bolt80.com/gutentags/
MIT License
2.3k stars 175 forks source link

Check for temp tags before moving to avoid error #271

Closed spaceships closed 4 years ago

spaceships commented 4 years ago

I was getting the following error when working on non-code files in large repositories:

gutentags: [job stderr]: ['mv: cannot stat ''.tags.temp'': No such file or directory', '']

An easy fix is just to check that the file exists before invoking mv, which is included in this patch.

Thanks!

ludovicchabant commented 4 years ago

I had to rebase the change so it looks like Github hasn't noticed the new one, but it should be merged now. Thanks!