diff options
-rw-r--r-- | README.md | 1 | ||||
-rw-r--r-- | doc/no-clown-fiesta.txt | 2 | ||||
-rw-r--r-- | lua/no-clown-fiesta/groups/diffview.lua | 10 | ||||
-rw-r--r-- | lua/no-clown-fiesta/groups/highlights.lua | 2 | ||||
-rw-r--r-- | lua/no-clown-fiesta/groups/init.lua | 1 |
5 files changed, 14 insertions, 2 deletions
@@ -105,3 +105,4 @@ Other plugin managers are left as an exercise to the reader. - Treesitter - WhichKey - mini.statusline +- DiffView diff --git a/doc/no-clown-fiesta.txt b/doc/no-clown-fiesta.txt index afaf841..b7d09bb 100644 --- a/doc/no-clown-fiesta.txt +++ b/doc/no-clown-fiesta.txt @@ -61,4 +61,4 @@ SUPPORTED PLUGINS *no-clown-fiesta-supported_plugin * StatusLine (the default non custom one) * WhichKey * Mini.statusline - +* DiffView diff --git a/lua/no-clown-fiesta/groups/diffview.lua b/lua/no-clown-fiesta/groups/diffview.lua new file mode 100644 index 0000000..f186b6b --- /dev/null +++ b/lua/no-clown-fiesta/groups/diffview.lua @@ -0,0 +1,10 @@ +local M = {} + +function M.highlight(palette, opts) + return { + DiffviewFilePanelInsertions = { fg = palette.sign_add, bold = true }, + DiffviewFilePanelDeletions = { fg = palette.sign_delete, bold = true }, + } +end + +return M diff --git a/lua/no-clown-fiesta/groups/highlights.lua b/lua/no-clown-fiesta/groups/highlights.lua index ffefd44..04e9f9b 100644 --- a/lua/no-clown-fiesta/groups/highlights.lua +++ b/lua/no-clown-fiesta/groups/highlights.lua @@ -51,7 +51,7 @@ function M.highlight(palette, opts) VisualNOS = { bg = palette.alt_bg }, WarningMsg = { fg = palette.error, bg = palette.bg }, DiffAdd = { bg = palette.accent_green }, - DiffText = { bg = palette.accent_blue }, + DiffText = { fg = palette.fg, bg = palette.sign_change }, Changed = { fg = palette.sign_change, }, diff --git a/lua/no-clown-fiesta/groups/init.lua b/lua/no-clown-fiesta/groups/init.lua index a5849ed..13e7809 100644 --- a/lua/no-clown-fiesta/groups/init.lua +++ b/lua/no-clown-fiesta/groups/init.lua @@ -23,4 +23,5 @@ return { require "no-clown-fiesta.groups.telescope", require "no-clown-fiesta.groups.treesitter", require "no-clown-fiesta.groups.whichkey", + require "no-clown-fiesta.groups.diffview", } |