From 4e2317da2b50a30fb64024d7d59f94881e27a609 Mon Sep 17 00:00:00 2001 From: aktersnurra Date: Fri, 29 Jul 2022 17:51:29 +0200 Subject: Update configuration api (#5) * Refactor * Fix opts * Fix plugin typos * Update readme BREAKING CHANGE: Configuration api updated. --- lua/no-clown-fiesta/neogit.lua | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 lua/no-clown-fiesta/neogit.lua (limited to 'lua/no-clown-fiesta/neogit.lua') diff --git a/lua/no-clown-fiesta/neogit.lua b/lua/no-clown-fiesta/neogit.lua new file mode 100644 index 0000000..40917c1 --- /dev/null +++ b/lua/no-clown-fiesta/neogit.lua @@ -0,0 +1,24 @@ +local M = {} + +function M.highlight(palette) + return { + NeogitNotificationInfo = { fg = palette.sign_add }, + NeogitNotificationWarning = { fg = palette.warning_orange }, + 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 -- cgit v1.2.3-70-g09d2