Open coryshaw1 opened 2 months ago
the same problem, have any plans to fix it?
I can confirm that this happens for me too.
For a workaround, I was able to get it somewhat better looking by setting up the dim_inactive
in opts and disabling bufferline in integrations. This does require you to manually set the highlights in bufferline if you haven't already.
Catppuccin opts:
dim_inactive = {
enabled = true,
shade = "dark",
percentage = 0.15,
},
integrations = {
bufferline = false,
},
bufferline opts:
highlights = require("catppuccin.groups.integrations.bufferline").get {
styles = { "italic", "bold" },
},
I still think it would look better with the separator_bg across the entire bar and opaque, but this may be a limitation of the highlights. I would need someone else with more experience to confirm this.
I think @coryshaw1 he's right. The slant
option is not suitable for transparent background.
This is not an issue, this belongs to the discussion section.
You can still change the separator background like this:
local mocha = require('catppuccin.palettes').get_palette('mocha')
require('bufferline').setup({
-- Bufferline configuration
highlights = require('catppuccin.groups.integrations.bufferline').get({
custom = {
all = {
separator = { fg = mocha.crust },
separator_visible = { fg = mocha.crust },
separator_selected = { fg = mocha.crust },
},
},
}
}
and it looks like this:
Description
I'm trying to use akinsho/bufferline.nvim along with Catppuccin, but using bufferline.nvim's separator style of "slant". When using this and setting
transparent_background
andterm_colors
=true
, the background of the bufferline tabs is odd and not transparent.Neovim version
Terminal and multiplexer
kitty 0.25.2 and tmux 3.4
Catppuccin version / branch / rev
"catppuccin": { "branch": "main", "commit": "d97387aea8264f484bb5d5e74f2182a06c83e0d8" }
Steps to reproduce
Catppuccin opts
Bufferline opts
Expected behavior
The ideal behavior would be for the background of the bufferline's entirety to be transparent with a slightly darker opaque background like the "With transparent_background disabled" screenshot below.
Actual behavior
With transparent_background enabled
With transparent_background disabled
Repro
No response