mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
feat(transparency): remove border background
This commit is contained in:
parent
d884b258f0
commit
b6a53a45d8
1 changed files with 5 additions and 1 deletions
|
|
@ -9,7 +9,11 @@ local function set_highlights()
|
||||||
|
|
||||||
local function make_border(fg)
|
local function make_border(fg)
|
||||||
fg = fg or groups.border
|
fg = fg or groups.border
|
||||||
return { fg = fg, bg = config.options.extend_background_behind_borders and palette.surface or "NONE" }
|
return {
|
||||||
|
fg = fg,
|
||||||
|
bg = (config.options.extend_background_behind_borders and not styles.transparency) and palette.surface
|
||||||
|
or "NONE",
|
||||||
|
}
|
||||||
end
|
end
|
||||||
|
|
||||||
local function make_title(fg)
|
local function make_title(fg)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue