vim: Fix Around Subword not including whitespace (#24356)
Closes #24271 Release Notes: - Fixed Around Subword No Include Whitespace
This commit is contained in:
parent
8fc5d227a4
commit
c24f22cd14
1 changed files with 1 additions and 1 deletions
|
@ -671,7 +671,7 @@ fn around_subword(
|
||||||
is_word_end || is_subword_end
|
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(
|
fn around_containing_word(
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue