fix(git): rename hunk highlights

This commit is contained in:
2026-05-20 07:53:51 +02:00
parent 7c8975af10
commit 72ab9059fa
3 changed files with 15 additions and 15 deletions
+2 -2
View File
@@ -127,11 +127,11 @@ local function render_signs(buf)
end
pcall(vim.api.nvim_buf_set_extmark, buf, NS_SIGNS, row, 0, {
sign_text = signs.delete,
sign_hl_group = "GitHunkDelete",
sign_hl_group = "GitHunkDeleted",
priority = 100,
})
else
local hl = h.type == "add" and "GitHunkAdd" or "GitHunkChange"
local hl = h.type == "add" and "GitHunkAdded" or "GitHunkChanged"
local sign = h.type == "add" and signs.add or signs.change
for r = h.new_start, h.new_start + h.new_count - 1 do
local row = r - 1