mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-14 06:59:03 +02:00
claude-pre-edit-1752105641
This commit is contained in:
parent
61806beef4
commit
7ea500c2b0
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue