diff options
Diffstat (limited to 'src/repl/mod.rs')
| -rw-r--r-- | src/repl/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 18d00f9..490cc89 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -435,7 +435,7 @@ Type ".help" for additional help. .with_validator(Box::new(ReplValidator)) .with_ansi_colors(true); - if let Some(cmd) = config.read().buffer_editor() { + if let Ok(cmd) = config.read().editor() { let temp_file = temp_file("-repl-", ".txt"); let command = process::Command::new(cmd); editor = editor.with_buffer_editor(command, temp_file); |
