mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
update floating window highlight (#387)
This commit is contained in:
parent
5f662f143b
commit
a8a1b92921
@ -170,7 +170,11 @@ api.nvim_create_autocmd("ColorScheme", {
|
||||
vim.api.nvim_set_hl(0, "Cursor2", { fg = "red", bg = "red" })
|
||||
|
||||
-- For floating windows border highlight
|
||||
vim.api.nvim_set_hl(0, "FloatBorder", { fg = "LightGreen" })
|
||||
vim.api.nvim_set_hl(0, "FloatBorder", { fg = "LightGreen", bg = "None", bold = true })
|
||||
|
||||
local hl = vim.api.nvim_get_hl(0, { name = "NormalFloat" })
|
||||
-- change the background color of floating window to None, so it blenders better
|
||||
vim.api.nvim_set_hl(0, "NormalFloat", { fg = hl.fg, bg = "None" })
|
||||
|
||||
-- highlight for matching parentheses
|
||||
vim.api.nvim_set_hl(0, "MatchParen", { bold = true, underline = true })
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user