kevinhwang91 / nvim-bqf

Better quickfix window in Neovim, polish old quickfix window.
BSD 3-Clause "New" or "Revised" License
1.73k stars 32 forks source link

Integrate with nvim-treesitter-context to show function names in preview #150

Open dyng opened 3 months ago

dyng commented 3 months ago

Feature description

nvim-treesitter-context shows code context (function signature, loop block and something else) which is convenience for reading and understanding code. It could be nice that is available in bqf's preview window too.

Describe the solution you'd like

I'm not sure how nvim-treesitter-context works, maybe this feature could be done by just enabling it.

Additional context

No response

kevinhwang91 commented 3 months ago

nvim-treesitter-context will add a float win to show the context with extmarks. bqf only captures the extmarks under the item buffer. No idea how to handle it elegantly.