claude-baseline-1752116115

This commit is contained in:
zolinthecow 2025-07-09 19:55:15 -07:00
parent 88031a127f
commit 71c0b1011a
3 changed files with 218 additions and 26 deletions

View file

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