-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve the documentation for colorscheme customization #85
Comments
Hi, sorry I didn’t realize how long this has been waiting for a response. Basically the way color schemes in Vim work is that things like UI elements and parsed bits of syntax use symbolic names, and color schemes assign colors to these symbolic names, but symbolic names can also be linked to another symbolic name. And the linked bit of the documentation describes the symbolic names that BufTabLine declares, plus which well-known symbolic names it defaults links them to. That way BufTabLine automatically picks up colors defined by your color scheme which will hopefully fit together well. But sometimes they don’t, and then you can assign a color to one of BufTabLine’s symbolic names directly which overrides the linkage. So you can certainly override the blue highlight with something else. What commands did you run to get this set of buffers? I’m trying to figure out what kind of buffer is being highlighted in blue. |
No problem at all! If this ends up being a huge thing I'd honestly be okay with just closing this. I recently moved to nvim and use a different pluggin to handle buffers. Although I'm trying to make my config usable to others and still suggest this pluggin for a more streamlined set up, as it really is plug and play. I do get the same issue on nvim as vim though, so I'd be interested in knowing how to solve this so that I can add that to the ReadMe, but not at a large expense of your time! If it's the case that this wouldn't be a large ask, on nvim I'm running |
Just info for anyone running into this issue: I wanted a similar solution to this, but only to reverse the highlighting around, so that the blue highlight represents the active tab, so I used this .vimrc snippet :
You can play around with the numbers to get different colors. You can also show the current highlight mappings by running Might be good to add info about this in the README, as this could be a common thing people would want. |
@FriendlyTroll That’s not a good way of doing this. Buftabline is piggybacking on But a better way still is not to define specific colors but to reuse one from your colorscheme. You can do this by browsing (Yes, this should be in the docs, this last part in particular. I didn’t have a good user-friendly results-oriented way of explaining this process until just now.) |
Have you seen how late some of my replies are? 😛
Happy to provide. 🙂 |
Hello,
Thanks a ton for the pluggin, I really love it! The one thing that I was hoping I might be able to configure is this blue highlighting I'm getting from having netrw and a terminal open -
I understand it probably has something to do with the fact they're kind of hidden buffers it seems? I looked at what's configurable here but honestly have never messed with colors or anything like that and really just want to turn the highlighting off as whatever buffertab is darkened does correctly correspond to the buffer in focus. Any help is much appreciated!
The text was updated successfully, but these errors were encountered: