summaryrefslogtreecommitdiff
path: root/lua/no-clown-fiesta/groups/neogit.lua
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2022-11-12 17:01:26 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2022-11-12 17:01:26 +0100
commita7de377d8d3087581958f84d982b616fc93ca471 (patch)
tree3973da30d746b3f6d5322fadfc24c0391fa32afb /lua/no-clown-fiesta/groups/neogit.lua
parent2a811fa58f67333e2abead85ef76d969f7916070 (diff)
Rename module
Diffstat (limited to 'lua/no-clown-fiesta/groups/neogit.lua')
-rw-r--r--lua/no-clown-fiesta/groups/neogit.lua24
1 files changed, 24 insertions, 0 deletions
diff --git a/lua/no-clown-fiesta/groups/neogit.lua b/lua/no-clown-fiesta/groups/neogit.lua
new file mode 100644
index 0000000..14d9fb1
--- /dev/null
+++ b/lua/no-clown-fiesta/groups/neogit.lua
@@ -0,0 +1,24 @@
+local M = {}
+
+function M.highlight(palette)
+ return {
+ NeogitNotificationInfo = { fg = palette.sign_add },
+ NeogitNotificationWarning = { fg = palette.warning },
+ NeogitNotificationError = { fg = palette.sign_delete },
+ NeogitDiffAddHighlight = {
+ fg = palette.sign_add,
+ bg = palette.neogit_light_green,
+ },
+ NeogitDiffDeleteHighlight = {
+ fg = palette.sign_delete,
+ bg = palette.neogit_light_red,
+ },
+ NeogitDiffpaletteontextHighlight = { fg = palette.fg, bg = palette.accent },
+ NeogitHunkHeader = { fg = palette.fg, bg = palette.alt_bg },
+ NeogitHunkHeaderHighlight = { fg = palette.fg, bg = palette.gray },
+ NeogitDiffAdd = { fg = palette.sign_add, bg = palette.neogit_green },
+ NeogitDiffDelete = { fg = palette.sign_delete, bg = palette.neogit_red },
+ }
+end
+
+return M