Skip to content

Commit 79c4f9f

Browse files
committed
Disable background color for floating win border
1 parent 253bc1b commit 79c4f9f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lua/custom-autocmd.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ api.nvim_create_autocmd("ColorScheme", {
179179
vim.api.nvim_set_hl(0, "Cursor2", { fg = "None", bg = "yellow", update = true })
180180

181181
-- For floating windows border highlight
182-
vim.api.nvim_set_hl(0, "FloatBorder", { fg = "LightGreen", update = true })
182+
vim.api.nvim_set_hl(0, "FloatBorder", { bg = "None", fg = "LightGreen", update = true })
183183

184184
-- change the background color of floating window to None, so it blenders better
185185
vim.api.nvim_set_hl(0, "NormalFloat", { bg = "None", update = true })

0 commit comments

Comments
 (0)