claude-pre-edit-1752105641

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

View File

@ -10,6 +10,11 @@ end
-- Pre-tool-use hook: Create a commit snapshot of the current state
function M.pre_tool_use_hook()
-- Debug log to file
local log_file = io.open('/tmp/claude-hook-debug.log', 'a')
log_file:write(os.date() .. ' - Pre-hook called\n')
log_file:close()
local utils = require('nvim-claude.utils')
-- Check if we're in a git repository