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

How to reduce tab width and get rid of this number and x symbol?

Open eggbean opened this issue 2 years ago • 2 comments

image

Since I updated by config since an update (which caused deprecation warnings that drove me insane) I have three issues which I didn't have before and I have not been able to figure out how to remove them.

  • Tab width - how do I reduce the tab width padding on either side of the buffer names by two or three characters?
  • How do I remove the buffer number that is appearing on the active buffer?
  • How do I get rid of the x character that sometimes appears (seen on the middle tab)?

eggbean avatar Jun 28 '23 04:06 eggbean

(which caused deprecation warnings that drove me insane)

@Iron-E this is why I'm apprehensive about breaking changes & warnings. We should be more conservative about pushing those, ideally only in big batches so users can be disrupted once and be done with it.

@eggbean Can you share your barbar config?

romgrk avatar Jun 28 '23 05:06 romgrk

this is why I'm apprehensive about breaking changes & warnings. We should be more conservative about pushing those, ideally only in big batches so users can be disrupted once and be done with it.

IIRC, all the newest deprecations were proposed in #394 and implemented within roughly the span of a week. There are more in the pipeline (e.g. bufferlinebarbar), but they have been saved in order to be bundled together

We also have #410 but no work has been done (yet!)


@eggbean what is your config now? What was it before migrating to the new settings schema?


Edit: this may be a resumation of #406

Iron-E avatar Jun 28 '23 06:06 Iron-E

Closing for now, feel free to reopen!

Iron-E avatar Jan 25 '24 19:01 Iron-E

Oh, sorry I forgot to reply all that time ago. I got very frustrated with the errors so I had to disable barbar for a while and then I eventually got it fixed by getting ChatGPT to sort it out. Cheers.

eggbean avatar Jan 26 '24 00:01 eggbean