-
Notifications
You must be signed in to change notification settings - Fork 80
Description
I use a fork of this plugin in which I've made a small adjustment to how the tab separator lines are drawn. It's been a while and I'm still using it so I thought I'd share it in case it is something you'd think is worthwhile.
There is an option, g:buftabline_separators, which allows the user to turn tab separator drawing on or off. I've changed this option from a boolean to a number: 0, 1, or 2. The first two options (0 and 1) work like the original boolean. The third (2) draws separators only between adjacent tabs of hidden buffers since those have the same background color. I don't need a separator between the tab of a hidden buffer and the active one since the background colors already provide contrast. In addition, I've added an optional highlight group to allow styling of the separator. In my case, I've used this to make the separator a bit lighter than the text.
Can you tell the difference? Admittedly, this is a small aesthetic tweak and may be of little or no value to others. But I stare at Vim a lot and it has made a difference to me. My fork is here: sfsam@e67df2d.
Thanks for making this! Along with CtrlP I find it indispensable for using Vim. Both should be built-in features.