Skip to content

Commit

Permalink
fix(fuzzy): typo introduced in commit 93541e4
Browse files Browse the repository at this point in the history
  • Loading branch information
MurdeRM3L0DY committed Jan 16, 2025
1 parent 595a6a1 commit 2722bcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/blink/cmp/fuzzy/keyword.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ pub fn guess_keyword_range_from_item(
let line_range = get_keyword_range(line, cursor_col, match_suffix);
let text_range = get_keyword_range(item_text, item_text.len(), false);

let line_prefix = &line[..text_range.0];
let line_prefix = &line[..line_range.0];
let text_prefix = &item_text[..text_range.0];
if line_prefix.ends_with(&text_prefix) {
return (line_range.0 - text_prefix.len(), line_range.1);
Expand Down

0 comments on commit 2722bcb

Please sign in to comment.