From a330d39833eea41138c47f7096d18078e193fd25 Mon Sep 17 00:00:00 2001 From: Shaun Clayton Date: Thu, 25 Jul 2024 00:37:07 -0400 Subject: [PATCH] feat: add support for grug-far.nvim --- lua/rose-pine.lua | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/lua/rose-pine.lua b/lua/rose-pine.lua index e356688..1929f97 100644 --- a/lua/rose-pine.lua +++ b/lua/rose-pine.lua @@ -126,7 +126,7 @@ local function set_highlights() RedrawDebugClear = { fg = palette.base, bg = palette.gold }, RedrawDebugComposed = { fg = palette.base, bg = palette.pine }, RedrawDebugRecompose = { fg = palette.base, bg = palette.love }, - Search = { fg = palette.base, bg = palette.text }, + Search = { fg = palette.base, bg = palette.rose }, SignColumn = { fg = palette.text, bg = "NONE" }, SpecialKey = { fg = palette.foam }, SpellBad = { sp = palette.subtle, undercurl = true }, @@ -941,6 +941,22 @@ local function set_highlights() RenderMarkdownTableHead = { fg = palette.subtle }, RenderMarkdownTableRow = { fg = palette.subtle }, RenderMarkdownUnchecked = { fg = palette.subtle }, + + -- MagicDuck/grug-far.nvim + GrugFarHelpHeader = { fg = palette.pine }, + GrugFarHelpHeaderKey = { fg = palette.gold }, + GrugFarHelpWinActionKey = { fg = palette.gold }, + GrugFarHelpWinActionPrefix = { fg = palette.foam }, + GrugFarHelpWinActionText = { fg = palette.pine }, + GrugFarHelpWinHeader = { link = "FloatTitle" }, + GrugFarInputLabel = { fg = palette.foam }, + GrugFarInputPlaceholder = { link = "Comment" }, + GrugFarResultsActionMessage = { fg = palette.foam }, + GrugFarResultsChangeIndicator = { fg = groups.git_change }, + GrugFarResultsHeader = { fg = palette.pine }, + GrugFarResultsMatch = { link = "Search" }, + GrugFarResultsPath = { fg = palette.foam }, + GrugFarResultsStats = { fg = palette.iris }, } local transparency_highlights = { DiagnosticVirtualTextError = { fg = groups.error },