Skip to content

Commit

Permalink
Fix Around Subword No Include Whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
0x2CA committed Feb 6, 2025
1 parent f366b97 commit 6a941b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/vim/src/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ fn around_subword(
is_word_end || is_subword_end
});

Some(start..end)
Some(start..end).map(|range| expand_to_include_whitespace(map, range, true))
}

fn around_containing_word(
Expand Down

0 comments on commit 6a941b7

Please sign in to comment.