Bekaboo / dropbar.nvim

IDE-like breadcrumbs, out of the box
GNU General Public License v3.0
896 stars 17 forks source link

Feature: Display dropbar for the current buffer in the tabline #133

Open willothy opened 5 months ago

willothy commented 5 months ago

Discussed in https://github.com/Bekaboo/dropbar.nvim/discussions/132

Originally posted by **willdavidow** January 23, 2024 This may be more of a `winbar` question than anything specific to this plugin, but: I'm wondering if a setting to enable a global `winbar` (similar to `vim.opt.laststatus = 3`) exists? Would love to have just a single `winbar` across the top of my window instead of one per buffer... does a setting like this exist either in Neovim, or perhaps in this plugin?
Bekaboo commented 5 months ago

This is possible but I don't think it is worth the extra complexity, one can make use of dropbar.nvim as a library and build a new small plugin on top of it, may be droptabline.nvim?

willothy commented 5 months ago

This is possible but I don't think it is worth the extra complexity, one can make use of dropbar.nvim as a library and build a new small plugin on top of it, may be droptabline.nvim?

Yeah, that was what I was thinking. If I decide to work on this I'll build it totally standalone and you can decide whether you want to upstream it here or keep it separate.

I think the API you've built with dropbar is honestly the best I have discovered for bar/line type things so it would be pretty cool to extend to the tabline and maybe even statusline imo.