summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-08 11:57:41 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-02-08 11:57:41 +0100
commit13cc453536a7c0f916724192f2229f7198c8885f (patch)
treeace2ee33f8d95ddd23d38415b700e1c34e5c4f4a /lua
parent9488e253046e4a2d41bfb29435cb1525ae45b1b4 (diff)
Add some support for noice
Diffstat (limited to 'lua')
-rw-r--r--lua/no-clown-fiesta/groups/highlights.lua4
-rw-r--r--lua/no-clown-fiesta/groups/init.lua1
-rw-r--r--lua/no-clown-fiesta/groups/noice.lua16
3 files changed, 19 insertions, 2 deletions
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