From 13cc453536a7c0f916724192f2229f7198c8885f Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 8 Feb 2024 11:57:41 +0100 Subject: Add some support for noice --- lua/no-clown-fiesta/groups/highlights.lua | 4 ++-- lua/no-clown-fiesta/groups/init.lua | 1 + lua/no-clown-fiesta/groups/noice.lua | 16 ++++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 lua/no-clown-fiesta/groups/noice.lua (limited to 'lua/no-clown-fiesta') diff --git a/lua/no-clown-fiesta/groups/highlights.lua b/lua/no-clown-fiesta/groups/highlights.lua index 9552bc4..cc7798f 100644 --- a/lua/no-clown-fiesta/groups/highlights.lua +++ b/lua/no-clown-fiesta/groups/highlights.lua @@ -75,13 +75,13 @@ function M.highlight(palette, opts) fg = palette.alt_bg, reverse = false, }, - Conceal = { fg = palette.medium_gray }, + Conceal = { fg = palette.fg }, Directory = { fg = palette.blue }, SpecialKey = { fg = palette.blue }, Title = { fg = palette.blue }, ErrorMsg = { fg = palette.error, bg = palette.bg, bold = true }, Search = { fg = palette.orange, bg = palette.alt_bg }, - IncSearch = { fg = palette.alt_bg, bg = palette.sign_delete }, + IncSearch = { fg = palette.alt_bg, bg = palette.orange }, Substitute = { fg = palette.alt_bg, bg = palette.orange }, MoreMsg = { fg = palette.cyan }, Question = { fg = palette.cyan }, diff --git a/lua/no-clown-fiesta/groups/init.lua b/lua/no-clown-fiesta/groups/init.lua index cba9aa8..79e9446 100644 --- a/lua/no-clown-fiesta/groups/init.lua +++ b/lua/no-clown-fiesta/groups/init.lua @@ -19,4 +19,5 @@ return { require "no-clown-fiesta.groups.whichkey", require "no-clown-fiesta.groups.neotest", require "no-clown-fiesta.groups.dapui", + require "no-clown-fiesta.groups.noice", } diff --git a/lua/no-clown-fiesta/groups/noice.lua b/lua/no-clown-fiesta/groups/noice.lua new file mode 100644 index 0000000..0c0cc27 --- /dev/null +++ b/lua/no-clown-fiesta/groups/noice.lua @@ -0,0 +1,16 @@ +local M = {} + +function M.highlight(palette, opts) + return { + NoiceCmdlinePopupTitle = { link = "FloatBorder", default = true }, + NoiceCmdlinePrompt = { link = "FloatBorder", default = true }, + NoiceFormatTitle = { link = "FloatBorder", default = true }, + NoiceCmdlinePopupBorder = { link = "FloatBorder", default = true }, + NoiceCmdlineIcon = { link = "FloatBorder", default = true }, + NoiceCmdlineIconSearch = { link = "FloatBorder", default = true }, + NoiceCmdlinePopupBorderSearch = { link = "FloatBorder", default = true }, + NoiceVirtualText = { fg = palette.medium_gray, default = true }, + } +end + +return M -- cgit v1.2.3-70-g09d2