mirror of
https://github.com/rose-pine/neovim.git
synced 2025-10-15 12:38:53 +02:00
refactor(gitsigns): avoid redundant links
The `SignAdd`, `SignChange`, and `SignDelete` are never referenced by any other highlight definitions than the previous `GitSigns` ones before this change. The isolated definitions are only left for backward compatibility.
This commit is contained in:
parent
42f0724e0b
commit
977b622866
1 changed files with 3 additions and 3 deletions
|
|
@ -451,9 +451,9 @@ local function set_highlights()
|
|||
BufferVisibleTarget = { fg = palette.gold },
|
||||
|
||||
-- lewis6991/gitsigns.nvim
|
||||
GitSignsAdd = { link = "SignAdd" },
|
||||
GitSignsChange = { link = "SignChange" },
|
||||
GitSignsDelete = { link = "SignDelete" },
|
||||
GitSignsAdd = { fg = groups.git_add, bg = "NONE" },
|
||||
GitSignsChange = { fg = groups.git_change, bg = "NONE" },
|
||||
GitSignsDelete = { fg = groups.git_delete, bg = "NONE" },
|
||||
SignAdd = { fg = groups.git_add, bg = "NONE" },
|
||||
SignChange = { fg = groups.git_change, bg = "NONE" },
|
||||
SignDelete = { fg = groups.git_delete, bg = "NONE" },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue