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>
This commit is contained in:
co-authored by
Aloke Desai
parent
a1f35faca1
commit
84592e2ad8
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user