ctags -R ..:set ignorecase, :tag ip_mreq (the specific tag doesn't matter).The lookup will take a few seconds.
This can also be tested with:
time vim -Nu NONE -t ip_mreq +q (0.06s on my machine)time vim -Nu NONE --cmd "set ignorecase" -t ip_mreq +q (~4s)In general I expect the tag lookups to be instant.
They are indeed instant if I regenerate the tags file with --sort=foldcase or set noignorecase, but you don't get any signal that you're doing something wrong if you don't do that. I just thought Vim's tags implementation was crap up until now :P
Maybe Vim could display a warning if it has to fallback to linear search on the tags file?
9.1, Included patches: 1-948, 950-1230, 1242, 1244
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()
There is a bit of context here: :h 'tagbsearch' Make sure to follow the related options.
I am not sure echoing the particular search method is much of help, especially when using a small tag file, so this may turn out to be more annoying than useful after all.
—
Reply to this email directly, view it on GitHub.
You are receiving this because you are subscribed to this thread.![]()