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

[Bug]: Treesitter not showing up as a source since commit 35988af #189

Closed
tombakas opened this issue Oct 28, 2024 · 2 comments
Closed

[Bug]: Treesitter not showing up as a source since commit 35988af #189

tombakas opened this issue Oct 28, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@tombakas
Copy link

Description

Breadcrumbs are not displayed if TreeSitter is used as the only source. I traced it down to commit 35988af. If the commit before it is used, breadcrumbs show up as expected.

nvim version

v0.10.2

dropbar.nvim version

9d8cad9

Operating system and version

macOS 14.6.1

Minimal config

I didn't minimize the config, as I am fairly sure the rest of the config did not interfere with the functioning of the plugin.

Steps to reproduce

Specify treesitter as the only source in the config and open a file type that you have treesitter installed for.

Expected behavior

Breadcrumbs are visible

Actual behavior

No breadcrumbs

Additional information

No response

@tombakas tombakas added the bug Something isn't working label Oct 28, 2024
Bekaboo pushed a commit that referenced this issue Oct 31, 2024
Bug:    Treesitter source does not return any symbols.
Fix:    Remove use of deprecated `opts.sources.treesitter.name_pattern`
	which is always nil. Use `opts.sources.treesitter.name_regex` to
	get name for the treesitter node.
@Bekaboo
Copy link
Owner

Bekaboo commented Oct 31, 2024

Should be fixed in commit ef933aa. Does it work for you?

@tombakas
Copy link
Author

tombakas commented Nov 7, 2024

Yes, this solves the issue, thank you.

@Bekaboo Bekaboo closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants