Open dolio opened 9 years ago
There are at least 3 solutions: 1) patch hasktags (eg to opt-in-out from some definitions 2) use grep -i to drop definitions by type afterwards 3) use Vim's taglist function to do the filtering - eg see TJump in github.com/MarcWeber/vim-addon-other or vim-addon-manager's sample rc file - both are using taglist. If you come up with a pull request I'll review it. Please be aware that tag lines have a type, eg c for class or i for instance.Let me know what you think might serve you best
@dolio Is this still happening (if you're still using Hasktags)? I'd love to at least add some testcases so I can try to resolve it.
I assume it is intentional that hasktags generates tags for all instance declarations under the tag 'instance'. However, I happen to work on a project that implements a compiler for a Haskell-like language, and as such, we have a type named
Instance
. It would be nice if we could tell hasktags to not generate tags for instances, as they get in the way of jumping to this definition, and the instance tags are not terribly useful for me, at least (we have 50+ instance declarations in our code, so trying to navigate to any one of them via:tj instance
doesn't work very well).