From 3310fe090177ef3a818b24a98fe46daa3e5314f7 Mon Sep 17 00:00:00 2001 From: zolinthecow Date: Wed, 9 Jul 2025 18:39:32 -0700 Subject: [PATCH] claude-baseline-1752111572 --- LICENSE.md | 18 ------------------ lua/nvim-claude/hooks.lua | 4 ++-- 2 files changed, 2 insertions(+), 20 deletions(-) diff --git a/LICENSE.md b/LICENSE.md index 12be8305..9cf10627 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -17,21 +17,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. - -Fresh restart - testing stash browsing with updated recovery logic! - -Now baseline exists - this should work properly! - -Testing with debug logs to see what's happening in the hooks. - -After reloading hooks module - this should create debug logs! - -Testing after manual baseline creation - this should work now! - -After manually initializing stash session - test the browsing commands! - -Testing unified.nvim integration - this should create a Claude stash that we can view in unified mode with fine-grained hunk accept/reject functionality! - -After nvim reload - testing unified view with du to see fine-grained hunk staging! - -Testing inline diff viewer - Claude's changes should appear directly in this buffer with virtual text showing additions and highlights for deletions! diff --git a/lua/nvim-claude/hooks.lua b/lua/nvim-claude/hooks.lua index 4ee48c02..8ff19ced 100644 --- a/lua/nvim-claude/hooks.lua +++ b/lua/nvim-claude/hooks.lua @@ -247,7 +247,7 @@ function M.install_hooks() hooks = { PreToolUse = { { - matcher = ".*", -- Match all tools + matcher = "Edit|Write|MultiEdit", -- Only match file editing tools hooks = { { type = "command", @@ -258,7 +258,7 @@ function M.install_hooks() }, PostToolUse = { { - matcher = ".*", -- Match all tools + matcher = "Edit|Write|MultiEdit", -- Only match file editing tools hooks = { { type = "command",