fix(git): rename hunk highlights
This commit is contained in:
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user