From 6859908ddee41f7b0121f3c2e3ef2262875291ba Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Fri, 29 Jul 2022 17:19:06 +0200 Subject: Refactor --- lua/no-clown-fiesta/git.lua | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 lua/no-clown-fiesta/git.lua (limited to 'lua/no-clown-fiesta/git.lua') diff --git a/lua/no-clown-fiesta/git.lua b/lua/no-clown-fiesta/git.lua new file mode 100644 index 0000000..4c71de3 --- /dev/null +++ b/lua/no-clown-fiesta/git.lua @@ -0,0 +1,14 @@ +local M = {} + +function M.highlight(palette) + return { + SignAdd = { fg = palette.sign_add }, + SignChange = { fg = palette.sign_change }, + SignDelete = { fg = palette.sign_delete }, + GitSignsAdd = { fg = palette.sign_add }, + GitSignsChange = { fg = palette.sign_change }, + GitSignsDelete = { fg = palette.sign_delete }, + } +end + +return M -- cgit v1.2.3-70-g09d2