barbar.nvim icon indicating copy to clipboard operation
barbar.nvim copied to clipboard

How to align correctly with neo-tree

Open RoccoRakete opened this issue 1 year ago • 4 comments

You can see the little offset. This is driving me crazy! Any tips on how to fix that?

image

RoccoRakete avatar Nov 23 '24 17:11 RoccoRakete

The separators might be different 🤔 I'll dig into it

Iron-E avatar Nov 23 '24 20:11 Iron-E

Getting this as well with NvimTree, my tree having a different background makes it look like it's off by one cell:

Image

Image

Blackilykat avatar Jan 29 '25 21:01 Blackilykat

You need to adjust your vertical separator to use the same character as barbar's tab separator.

romgrk avatar Jan 29 '25 22:01 romgrk

I've been working on a refactor in my spare time that puts the fillchar separator for the sidebar in the &tabline to address this, which prevents users having to change their config.

The only blocker is that I foresee an situation where someone would have multiple sidebars open on one side, and currently we don't have support for that. I would need to refactor it, and I've been thinking about how best to do that. Might just be out of scope for this issue though.

@romgrk should I throw up an MR with that changeset for review sometime this weekend? Or is changing the separator for the buffer what we want to suggest moving forward?


Edit: see https://github.com/romgrk/barbar.nvim/tree/629-sidebar-separator

Iron-E avatar Jan 31 '25 14:01 Iron-E