I'd like projectile's projectile-regenerate-tags to run global -u. It seemed this was catered for with projectile-tags-command. Which is set to "global -u" in a project root .dir-local.el

However, when I invoke projectile-regenerate-tags it informs me that there is no TAGS file ("projectroot/TAGS does not exist") indicating that global -u isn't being used.

If I add the minor mode ggtags then it works fine. But I dont want ggtags/global mode on my c-mode buffers.

(I'm using xref backends for rtags and then global without the clutter of ggtags mode).

So, how can I make my project use global to regenerate my tags without setting ggtags mode?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.