diff --git a/lua/claudecode/selection.lua b/lua/claudecode/selection.lua index bcd0f10..fb62d2b 100644 --- a/lua/claudecode/selection.lua +++ b/lua/claudecode/selection.lua @@ -95,7 +95,7 @@ end --- Handles mode change events. -- Triggers an immediate update of the selection. function M.on_mode_changed() - M.update_selection() + M.debounce_update() end --- Handles text change events.