refactor(git): hardcode strict_indexing in set_buf_lines

This commit is contained in:
2026-05-06 15:47:26 +02:00
parent 6fdd455536
commit e00a282194
5 changed files with 6 additions and 8 deletions
+1 -2
View File
@@ -76,11 +76,10 @@ local function populate(buf, r)
for i = #hunks, 1, -1 do
local sa, ca, sb, cb = unpack(hunks[i])
local start = ca == 0 and sa or sa - 1
util.buf_set_lines(
util.set_buf_lines(
buf,
start,
start + ca,
false,
vim.list_slice(new_lines, sb, sb + cb - 1)
)
end