1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-01 08:23:05 +03:00

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