Closed praveenperera closed 1 year ago
ay I see! the difference that we have in this case is that the tab for the focused window is bold and italic and you might not be using a terminal/font that supports bold/italics.
Here is a snippet for customizing this in your user configuration:
return {
heirline = {
-- customize heirline colors
colors = function(colors)
-- make visible buffers the same background
colors.buffer_visible_bg = colors.buffer_bg
return colors
end
}
}
Switched from FiraCode to JetBrains Mono, much better thank you!
@mehalter was the italic for active tab remove? This is what i'm seeing below. Whats the easiest way of de-emphasizing the open but not currently active tab?
Nope, it's still there in a base installation. You must have something in your user configuration
could also be if you changed terminals and it's not properly configured with italics
For debugging purposes for your config, you can use the plugin_opts
utility in AstroCore to check your config:
:lua =require("astrocore").plugin_opts("astroui").status.attributes.buffer_active
::lua =require("astrocore").plugin_opts("astroui").status.attributes.buffer_active
{
bold = true,
fg = "buffer_active_fg",
italic = true
}
Also italic is working in my terminal I tested, see image
@praveenperera I loaded up your configuration that it located here: https://github.com/praveenperera/dotfiles/tree/master/nvim
and I am getting italics in my terminal
thats interesting, its weird that italics works with echo. Thanks for checking, I appreciate it, I'll try and figure it out. I'm using alacrity by the way.
Figured it out at some point TERM got set to screen-256color
, changed it back to xterm-256color
and its working again. Thanks for your help.
that will do it!
Is your feature related to a problem?
I usually have to vertical splits open at all times. In the tab line both open buffers have the active styling. And I sometimes get confused which file I'm currently focused on.
Describe the new feature
Either:
active
,active-focused
,inactive
Additional context
Only one tab should have active styling.