akinsho / akinsho/bufferline.nvim

[Bug]: Cannot set transparency whatsoever. Defaults to terminal background color.

未关闭
#1,055 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Lua
星标
4.4k
派生
240
PR 合并指标
30 天内没有已合并 PR

描述

### Is there an existing issue for this?

- [x] I have searched the existing issues

### What happened?

Image

I'm using nvim on windows with the terminal from microsoft store.

i've tried manually setting to none using cmdline `:lua nvim.api.nvim_set_hl(...)`
It seems to be defaulting to what I've configured on the terminal and I can't seem to get transparency whatsoever.

I've seen the [help issue asking how to set transparency](https://github.com/akinsho/bufferline.nvim/issues/1021) but there wasn't anything useful
I just want to fully see cute anime girls while I program, man. 😔

### What did you expect to happen?

Transparency

### Config
```
require('bufferline').setup({
options = {
custom_filter = function(buf_num, _)
return vim.bo[buf_num].buftype ~= "terminal"
end
},
highlights = {
fill = {
bg = 'none',
},
background = {
bg = 'none',
},
buffer_visible = {
bg = 'none',
},
buffer_selected = {
bg = 'none',
fg = '#16a5e4'
}
}
})
```
### Additional Information

...

### commit

655133c

贡献指南

这个仓库没有索引到贡献指南

调研方向

Start by reproducing the configuration in the issue on Neovim for Windows, focusing on the `require('bufferline').setup` highlights entry point and comparing it with `nvim.api.nvim_set_hl(...)`. No file or test is named in the report; done means the listed bufferline highlight groups render with `bg = 'none'` instead of the terminal background, with regression coverage for the behavior.

由索引模型根据 Issue 内容生成。

评估

技术栈
lua
领域
tooling
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
活跃
描述清晰度
基本清楚
新手友好度
62/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。