claude-pre-edit-1752105649

This commit is contained in:
zolinthecow 2025-07-09 17:00:49 -07:00
parent 7ea500c2b0
commit 3183e708cf
1 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,11 @@ end
-- Post-tool-use hook: Create stash of Claude's changes and trigger diff review
function M.post_tool_use_hook()
-- Debug log to file
local log_file = io.open('/tmp/claude-hook-debug.log', 'a')
log_file:write(os.date() .. ' - Post-hook called\n')
log_file:close()
vim.notify('Post-tool-use hook triggered', vim.log.levels.INFO)
-- Use vim.schedule to ensure we're in the main thread