From 656e698995f33c01acf42a8f17a017048d7cfc97 Mon Sep 17 00:00:00 2001 From: Pocco81 Date: Sun, 29 Aug 2021 11:07:38 -0500 Subject: [PATCH] dev (refactor): siplified git and diff relation in the mapper --- lua/catppuccino/core/mapper.lua | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/lua/catppuccino/core/mapper.lua b/lua/catppuccino/core/mapper.lua index 5f3652a..138eb8f 100644 --- a/lua/catppuccino/core/mapper.lua +++ b/lua/catppuccino/core/mapper.lua @@ -138,15 +138,14 @@ local function get_base() illuminatedWord = { bg = cpt.fg_gutter }, illuminatedCurWord = { bg = cpt.fg_gutter }, -- diff - diffAdded = { fg = cpt.git.add }, - diffRemoved = { fg = cpt.git.delete }, - diffChanged = { fg = cpt.git.change }, + diffAdded = { fg = cpt.diff.add }, + diffRemoved = { fg = cpt.diff.remove }, + diffChanged = { fg = cpt.diff.change }, diffOldFile = { fg = cpt.yellow }, diffNewFile = { fg = cpt.orange }, diffFile = { fg = cpt.blue }, diffLine = { fg = cpt.comment }, diffIndexLine = { fg = cpt.magenta }, - -- git diff DiffAdd = { fg = cpt.diff.add, bg = cpt.bg }, -- diff mode: Added line |diff.txt| DiffChange = { fg = cpt.diff.change, bg = cpt.bg }, -- diff mode: Changed line |diff.txt| DiffDelete = { fg = cpt.diff.delete, bg = cpt.bg }, -- diff mode: Deleted line |diff.txt|