mirror of
https://github.com/TECHNOFAB11/pay-respects.git
synced 2025-12-12 14:30:10 +01:00
fix: missing space in opts
This commit is contained in:
parent
25e8f5875b
commit
3460d66aac
3 changed files with 5 additions and 3 deletions
|
|
@ -30,7 +30,9 @@ pub fn opts(suggest: &mut String, last_command: &mut String, opt_list: &mut Vec<
|
|||
let regex = opt.trim();
|
||||
let current_tag = tag(tag_name, replace_tag);
|
||||
|
||||
opt_list.push((current_tag.clone(), opt_regex(regex, last_command)));
|
||||
let opts = format!(" {}", opt_regex(regex, last_command));
|
||||
|
||||
opt_list.push((current_tag.clone(), opts));
|
||||
suggest.replace_range(placeholder, ¤t_tag);
|
||||
|
||||
replace_tag += 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue