Merge remote-tracking branch 'Delapouite/custom-text-object'

This commit is contained in:
Maxime Coste 2017-09-18 10:05:51 +09:00
commit a3644f49a3

View File

@ -1141,7 +1141,7 @@ void select_object(Context& context, NormalParams params)
return select_and_set_last<mode>( return select_and_set_last<mode>(
context, std::bind(obj_it->func, _1, _2, count, flags)); context, std::bind(obj_it->func, _1, _2, count, flags));
if (cp == ':') if (cp == 'c')
{ {
const bool info = show_auto_info_ifn( const bool info = show_auto_info_ifn(
"Enter object desc", "format: <open text>,<close text>", "Enter object desc", "format: <open text>,<close text>",
@ -1218,7 +1218,7 @@ void select_object(Context& context, NormalParams params)
{{'i'}, "indent"}, {{'i'}, "indent"},
{{'u'}, "argument"}, {{'u'}, "argument"},
{{'n'}, "number"}, {{'n'}, "number"},
{{':'}, "custom object desc"}})); {{'c'}, "custom object desc"}}));
} }
template<Direction direction, bool half = false> template<Direction direction, bool half = false>