use cli_utils::string_vec; use crate::systems::comp::context::CompletionContext; pub fn comp(ctx: CompletionContext) -> Option> { if ctx.current_word.starts_with('-') { return Some(string_vec!["-e", "--editor"]); } if ctx.previous_word == "-e" || ctx.previous_word == "--editor" { return Some(vec![]); } None }