Skip to main content

resolve_editor_command

Function resolve_editor_command 

Source
pub fn resolve_editor_command(
    visual: Option<&str>,
    editor_env: Option<&str>,
    config_editor: Option<&str>,
) -> Option<String>
Expand description

Resolve the editor executable: $VISUAL, then $EDITOR, then config editor.