From 7a09f88eb1b1e64dce447f71a045af8f2bd28b4e Mon Sep 17 00:00:00 2001 From: Fernando Schauenburg Date: Sun, 6 Aug 2023 18:05:50 +0200 Subject: [PATCH] Add styles for floating windows --- lua/gruvbox.lua | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/lua/gruvbox.lua b/lua/gruvbox.lua index e717ffb..50bd816 100644 --- a/lua/gruvbox.lua +++ b/lua/gruvbox.lua @@ -90,6 +90,10 @@ M.highlights = function() Normal = { fg = fg, bg = bg }, -- normal text NormalNC = { link = 'Normal' }, -- normal text in non-current windows + NormalFloat = { link = 'Normal' }, -- floating windows + FloatBorder = { fg = C.gray }, + FloatTitle = { fg = C.blue }, + Comment = { fg = C.bg3, italic = true }, -- any comment Constant = { fg = C.orange }, -- any constant @@ -492,10 +496,10 @@ M.highlights = function() -- 'nvim-telescope/telescope.nvim' telescope = { - TelescopeBorder = { fg = C.gray }, + TelescopeBorder = { link = 'FloatBorder' }, TelescopePromptBorder = { fg = C.fg0 }, - TelescopeTitle = { fg = C.blue, bold = true }, - TelescopePromptPrefix = { fg = C.blue }, + TelescopeTitle = { link = 'FloatTitle' }, + TelescopePromptPrefix = { link = 'FloatTitle' }, TelescopePromptCounter = { fg = C.bg3 }, TelescopeNormal = { fg = C.gray }, TelescopeMatching = { fg = C.fg0 },