Open osa1 opened 6 years ago
It looks like just the f
is an older syntax for kind:f. Probably vim makes x:y
stuff available to plugins. This should be easy to add, but to avoid trial and error, can you test that tagbar like a line like the below:
writeetagsfile src/Tags.hs 175;" kind:f line:175 language:Haskell
BTW, fast-tags suppresses adjacent tags with the same name, so e.g. data T = T
emits just one tag, not two. But that may not be appropriate for a type-oriented browsing thing, which tagbar looks like. If you get tagbar working and the suppression is getting in the way I can add a flag to turn that off.
I'm trying to add tagbar support for fast-tags. So far what I got is:
With this I can get a list of tags in a Haskell file. However, it seems like tagbar can't parse location information from the fast-tags output so I can't jump to a tag's location from the tag bar or can't show current tag in the status line.
It works with hasktags so I compared outputs. for the same tag this is what fast-tags generates:
This is what hasktags generates
It seems to me that we need to add the line number after
f
, likebut I'm not sure as this stuff is not documented anywhere.
Any ideas? Possibly related: #19.