Function spawn_editor::spawn_editor_with_args[][src]

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

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"]);