Skip to content

Commit 84592e2

Browse files
Fix typo: quote_ahead_fount_at -> quote_ahead_found_at (#9280)
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 <aloke.desai@gmail.com>
1 parent a1f35fa commit 84592e2

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

crates/vim/src/text_objects/quote.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,15 +63,15 @@ where
6363
break;
6464
}
6565
}
66-
let mut quote_ahead_fount_at = None;
66+
let mut quote_ahead_found_at = None;
6767
for (i, c) in &mut forward_iter {
6868
if quote_type.is_char(c) {
69-
quote_ahead_fount_at = Some(offset + i);
69+
quote_ahead_found_at = Some(offset + i);
7070
break;
7171
}
7272
}
7373

74-
match (quote_behind_found_at, quote_ahead_fount_at) {
74+
match (quote_behind_found_at, quote_ahead_found_at) {
7575
// If there are quotes surrounding the cursor, take that range.
7676
(Some(start), Some(end)) => Some(start..end + 1),
7777
// If there is no quote before, but there _is_ one after, treat the one after as the

0 commit comments

Comments
 (0)