Add underscore char as a valid punctuation for text-object pairs

This commit is contained in:
Delapouite 2017-06-06 12:04:53 +02:00
parent 73ecbdbc97
commit 2f84051efb

View File

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