From 84592e2ad8f00440f807f85ddd66d21391df71ed Mon Sep 17 00:00:00 2001 From: Filippo Stanghellini Date: Tue, 28 Apr 2026 23:00:34 +0200 Subject: [PATCH] Fix typo: quote_ahead_fount_at -> quote_ahead_found_at (#9280) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Corrects a typo in the variable name used for tracking quote positions in vim text object operations. ## Description Fixes a typo: `quote_ahead_fount_at` → `quote_ahead_found_at` in `crates/vim/src/text_objects/quote.rs`. ## Testing - [x] No functional changes, purely a variable rename - [x] Code compiles successfully No new tests added as this is a simple variable rename with no behavioral changes. ## Server API dependencies - [x] N/A ## Agent Mode - [ ] Warp Agent Mode ## Changelog Entries for Stable N/A - Minor typo fix. Co-authored-by: Aloke Desai --- crates/vim/src/text_objects/quote.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/vim/src/text_objects/quote.rs b/crates/vim/src/text_objects/quote.rs index 81c3426f..c72ce5e2 100644 --- a/crates/vim/src/text_objects/quote.rs +++ b/crates/vim/src/text_objects/quote.rs @@ -63,15 +63,15 @@ where break; } } - let mut quote_ahead_fount_at = None; + let mut quote_ahead_found_at = None; for (i, c) in &mut forward_iter { if quote_type.is_char(c) { - quote_ahead_fount_at = Some(offset + i); + quote_ahead_found_at = Some(offset + i); break; } } - match (quote_behind_found_at, quote_ahead_fount_at) { + match (quote_behind_found_at, quote_ahead_found_at) { // If there are quotes surrounding the cursor, take that range. (Some(start), Some(end)) => Some(start..end + 1), // If there is no quote before, but there _is_ one after, treat the one after as the