Function spawn_editor::spawn_editor_with_args

source ·
pub fn spawn_editor_with_args<Tb: AsRef<str>>(
    extra_args: &[Tb]
) -> Result<ExitStatus, SEError>
Expand description

This function is a convenient wrapper around spawn_editor_generic, in case that override_editor == None

Example usage:

spawn_editor::spawn_editor_with_args(&["src/lib.rs"]);