mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-08-09 04:25:09 +02:00
claude-pre-edit-1752105649
This commit is contained in:
parent
7ea500c2b0
commit
3183e708cf
1 changed files with 5 additions and 0 deletions
|
@ -58,6 +58,11 @@ end
|
||||||
|
|
||||||
-- Post-tool-use hook: Create stash of Claude's changes and trigger diff review
|
-- Post-tool-use hook: Create stash of Claude's changes and trigger diff review
|
||||||
function M.post_tool_use_hook()
|
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)
|
vim.notify('Post-tool-use hook triggered', vim.log.levels.INFO)
|
||||||
|
|
||||||
-- Use vim.schedule to ensure we're in the main thread
|
-- Use vim.schedule to ensure we're in the main thread
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue