Closed martinpelikan closed 9 years ago
I fixed 1. in 308bb40edf971af535dc8a5010518d2afe29e518.
For 2., "vim -t {tag}" works for me with the tags per branch feature. Can you provide a way to reproduce the issue you met?
I'll put 3. into my TODO list...:P
Thank you for fixing this (and the other issue about logging)!
As for 2, I've set this in my vimrc: set tags=.git/**/tags
. This unfortunately loads the tags for every branch, and only works if vim is invoked at the root of my project.
Without this change, tagfiles()
is empty at the time -t is evaluated. I use vim-plug to manage my plugins, is it possible that it simply loads the plugin too late into the process for -t to work? Putting some print statements in, it looks like ConnectCscopeDatabase is only called if I open a tags-compatible filetype, which seems to make sense, but that also seems to make it not load if -t is used.
I noticed that you used "{ 'for': ['python', 'c', 'cpp']}" with my plugin for on-demand loading. Could this be the root cause?
That was absolutely it, a remnant of a previous workaround that I forgot to reconsider... Many thanks!
The changes introduced in 12d5ad7a are a great idea! However, they have caused a few issues for my uses in their current implementation. Perhaps these issues can be addressed in the user configuration, so I'd like to hear what you think.
Cheers