Closed asilvadesigns closed 3 years ago
Hi, sorry it took me so long to even respond. I’m not sure I follow?
Hey, no problem. I'm referring to the modified flag that appears to the left of a buffer, I was wondering if there was a way to color that? I hope that makes sense.
D’uh. Sorry for being slow. It’s an obvious request (now that I managed to figure it out…), so I agree the plugin should have a way of doing that. I’ll put that on my plate.
(Not yet sure how exactly I want to do that. I’ve been meaning to make it easier to customise the plugin’s rendering more extensively, and it’s possible that this feature will be ugly to implement without that one, in which case it might be a while before it happens.)
Following further discussion in #62 I’ll be adding ModifiedCurrent/ModifiedActive/ModifiedHidden highlight groups which correspond to the Current/Active/Hidden groups (except they’re applied to modified buffers, obviously). Airline does something very similar in its tabline plugin:
By default the new highlight groups will be linked to their non-Modified counterpart so existing colorschemes and configurations will be unaffected. Basically the feature will be available but invisible at least initially. I don’t know where I’d find another three highlight groups to link to by default anyway… I think it will have to be left to colorschemes with explicit Buftabline support.
Is there any plan to implement this? Looks like #62 never went anywhere.
Share and enjoy. 🙂
First off great plugin, really enjoying using it. Would love the ability to custom color the modified glyph, by default is
+
. Perhaps like this