akinsho / akinsho/bufferline.nvim
[Bug]: Cannot set transparency whatsoever. Defaults to terminal background color.
- Ngôn ngữ chính
- Lua
- Star
- 4.4k
- Fork
- 240
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
### Is there an existing issue for this?
- [x] I have searched the existing issues
### What happened?
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
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- lua
- Lĩnh vực
- tooling
- Loại issue
- Lỗi
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức độ hoạt động
- Sôi nổi
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 62/100