vim: Fix Around Subword not including whitespace (#24356)

Closes #24271

Release Notes:

- Fixed Around Subword No Include Whitespace
This commit is contained in:
0x2CA 2025-02-06 23:54:04 +08:00 committed by GitHub
parent 8fc5d227a4
commit c24f22cd14
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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(