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

mini.breadcrumbs plugin to show breadcrumbs of current cursor position using treesitter. #983

Open
2 tasks done
231tr0n opened this issue Jun 21, 2024 · 1 comment
Open
2 tasks done
Labels
feature-request Feature request

Comments

@231tr0n
Copy link

231tr0n commented Jun 21, 2024

Contributing guidelines

Module(s)

mini.breadcrumbs

Description

Is there any plan on adding something like nvim-navic to the mini.nvim suite of plugins. For getting breadcrumbs we can leverage treesitter or lsp as nvim-navic does or use nvim_treesitter#statusline() to get the current context and parse it accordingly into proper format.

@231tr0n 231tr0n added the feature-request Feature request label Jun 21, 2024
@echasnovski
Copy link
Owner

Thanks for the suggestion!

I like the idea of this "breadcrumbs" like functionality. My concern is about implementing it efficiently. Having to do more LSP requests on every text change (which I'd imagine what 'nvim-navic' has to do) is hard to do efficiently. Relying on 'nvim-treesitter' is not an option.

Besides, I try to stay away from both LSP specifications and tree-sitter because working with them is a challenge for me.

I'll think about it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Feature request
Projects
None yet
Development

No branches or pull requests

2 participants