pub fn editor_command(
editor: Option<&str>,
file: &Path,
line: usize,
) -> EditorCommandExpand description
Builds the command for editor (the value of $VISUAL or $EDITOR, which may carry
its own arguments, like code --wait), or the system opener when none is set.