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-context window(like vscode sticky scroll) can't be shown in oil-ssh file buffers #567

Closed
song54573 opened this issue Jan 23, 2025 · 2 comments

Comments

@song54573
Copy link

Hello, nvim-treesitter-context.nvim context window can't be shown in oil-ssh buffer. Have looked for reasons and explored the treesitter-context repo. Is it acwrite buftype that caused this problem?

works normally in local buffer like this:
Image

did not work in oil-ssh buffer:
Image

Sorry to bother, I'm a noob of lua.

@stevearc
Copy link
Owner

Yep, that seems to be the case
https://github.com/nvim-treesitter/nvim-treesitter-context/blob/bece284c5322ddf6946fa4bdc383a2bc033269d7/lua/treesitter-context.lua#L94

Not sure why this constraint is there, but it would have to be changed in the nvim-treesitter-context repo

@song54573
Copy link
Author

Thanks for ur answer.

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

No branches or pull requests

2 participants