chore: remove dead code and commented out blocks (#2611)

This commit is contained in:
yetone
2025-08-16 14:45:27 +08:00
committed by GitHub
parent c1ccb7867a
commit bd2079a5cc
4 changed files with 0 additions and 8 deletions

View File

@@ -589,7 +589,6 @@ For example:
return { { line_, Highlights.TO_BE_DELETED_WITHOUT_STRIKETHROUGH } }
end)
:totable()
-- local extmark_line = math.max(0, start_line - 2)
local end_row = start_line + #diff_block.new_lines - 1
local delete_extmark_id =
vim.api.nvim_buf_set_extmark(bufnr, NAMESPACE, math.min(math.max(end_row - 1, 0), line_count - 1), 0, {