From eb1a617c3e74cdd05f1b5b5440c7a696c57081ac Mon Sep 17 00:00:00 2001 From: alemi Date: Wed, 3 Jul 2024 02:44:57 +0200 Subject: [PATCH] fix: also theme _Ln variants --- lua/peak-colorscheme.lua | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/lua/peak-colorscheme.lua b/lua/peak-colorscheme.lua index ded1a71..5bffa5f 100644 --- a/lua/peak-colorscheme.lua +++ b/lua/peak-colorscheme.lua @@ -286,11 +286,17 @@ end function PALETTE:set_gitsigns_colors() -- FG BG ATTR vim.api.nvim_set_hl(0, "GitSignsChange", HIGHLIGHT(self.yellow.normal, nil, nil)) + vim.api.nvim_set_hl(0, "GitSignsChangeLn", { link = "GitSignsChange" }) + vim.api.nvim_set_hl(0, "GitSignsAdd", { link = "GitSignsChange" }) + vim.api.nvim_set_hl(0, "GitSignsAddLn", { link = "GitSignsChange" }) vim.api.nvim_set_hl(0, "GitSignsDelete", HIGHLIGHT(self.red.bright, nil, nil)) + vim.api.nvim_set_hl(0, "GitSignsDeleteLn", { link = "GitSignsDelete" }) + vim.api.nvim_set_hl(0, "GitSignsTopdelete", { link = "GitSignsDelete" }) + vim.api.nvim_set_hl(0, "GitSignsTopdeleteLn", { link = "GitSignsDelete" }) + vim.api.nvim_set_hl(0, "GitSignsChangedelete", { link = "GitSignsDelete" }) + vim.api.nvim_set_hl(0, "GitSignsChangedeleteLn", { link = "GitSignsDelete" }) vim.api.nvim_set_hl(0, "GitSignsUntracked", HIGHLIGHT(self.gray.dark, nil, nil)) - vim.api.nvim_set_hl(0, "GitSignsAdd", { link = "GitSignsChange" }) - vim.api.nvim_set_hl(0, "GitSignsTopdelete", { link = "GitSignsDelete" }) - vim.api.nvim_set_hl(0, "GitSignsChangedelete", { link = "GitSignsDelete" }) + vim.api.nvim_set_hl(0, "GitSignsUntracked", { link = "GitSignsUntracked" }) end function PALETTE:set_cmp_colors()