Add underscore char as a valid punctuation for text-object pairs
This commit is contained in:
parent
73ecbdbc97
commit
2f84051efb
|
@ -1146,7 +1146,7 @@ void select_object(Context& context, NormalParams params)
|
|||
pair_it->opening, pair_it->closing,
|
||||
count, flags));
|
||||
|
||||
if (is_punctuation(cp))
|
||||
if (is_punctuation(cp) or cp == '_')
|
||||
{
|
||||
auto utf8cp = to_string(cp);
|
||||
return select_and_set_last<mode>(
|
||||
|
|
Loading…
Reference in New Issue
Block a user