Escape less aggressively when showing completions in pager

Stop escaping [, spaces, etc. in the pager.
This commit is contained in:
ridiculousfish 2018-08-12 03:37:13 -07:00
parent 9b22ae7c74
commit c0a332743f

View File

@ -306,7 +306,7 @@ static comp_info_list_t process_completions_into_infos(const completion_list_t &
comp_t *comp_info = &result.at(i);
// Append the single completion string. We may later merge these into multiple.
comp_info->comp.push_back(escape_string(comp.completion, ESCAPE_ALL | ESCAPE_NO_QUOTED));
comp_info->comp.push_back(escape_string(comp.completion, ESCAPE_NO_QUOTED));
// Append the mangled description.
comp_info->desc = comp.description;