Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Treesitter based "tagbar like" plugin #25

Open
tuckerrc opened this issue Jul 18, 2021 · 2 comments
Open

Treesitter based "tagbar like" plugin #25

tuckerrc opened this issue Jul 18, 2021 · 2 comments
Labels
help wanted Extra attention is needed idea

Comments

@tuckerrc
Copy link

tuckerrc commented Jul 18, 2021

What?
I would love to see a treesitter based tagbar like plugin. I think treesitter is perfect for this!

Why?
I love tagbar but it requires a third party binary (ctags, universal-tags, etc.) to work.

Potential existing implementations:

Potential pitfalls:

Different languages may require different kinds of queries (I don't know enough about treesitter to know if this will be an issue).

edit: Added another potential implementation

@tuckerrc tuckerrc added help wanted Extra attention is needed idea labels Jul 18, 2021
@disrupted
Copy link

agreed, there's symbols-outline.nvim but it uses LSP instead of Treesitter

@matu3ba
Copy link

matu3ba commented Aug 26, 2021

This is afaik currently not feasible for bigger files due to performance issues inside nvim-treesitter.

Even if possible: Why introduce a third type of tagbar? universal-ctags are most efficient/fast for huge to big repos and the lsp can handle the rest.

Treesitter also cant resolve macros and alike without help of the lsp, so I dont exactly understand the argument and the use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed idea
Projects
None yet
Development

No branches or pull requests

3 participants