claude-pre-edit-1752107502

This commit is contained in:
zolinthecow 2025-07-09 17:31:42 -07:00
parent a054861c29
commit c9adfad2c5
1 changed files with 2 additions and 2 deletions

View File

@ -120,10 +120,10 @@ function M.post_tool_use_hook()
baseline_ref = baseline_ref:gsub('%s+', '') -- trim whitespace
end
-- Trigger diff review
-- Trigger diff review - always show cumulative diff against baseline
local ok, diff_review = pcall(require, 'nvim-claude.diff-review')
if ok then
diff_review.handle_claude_edit('stash@{0}', baseline_ref)
diff_review.handle_cumulative_diff(baseline_ref)
else
vim.notify('Diff review module not available: ' .. tostring(diff_review), vim.log.levels.ERROR)
end