Merge remote-tracking branch 'Delapouite/underscore'

This commit is contained in:
Maxime Coste 2017-06-07 07:48:57 +01:00
commit fd00e1f9ae

View File

@ -1146,7 +1146,7 @@ void select_object(Context& context, NormalParams params)
pair_it->opening, pair_it->closing, pair_it->opening, pair_it->closing,
count, flags)); count, flags));
if (is_punctuation(cp)) if (is_punctuation(cp) or cp == '_')
{ {
auto utf8cp = to_string(cp); auto utf8cp = to_string(cp);
return select_and_set_last<mode>( return select_and_set_last<mode>(