From d6e5214153ecd9c99331c6f4c27d0553451a18a3 Mon Sep 17 00:00:00 2001 From: sigoden Date: Sat, 8 Feb 2025 09:24:40 +0800 Subject: refactor: change extension of ctrl+o opened file to `.md` (#1157) --- src/repl/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 466c93e..d7ddb96 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -262,7 +262,7 @@ Type ".help" for additional help. .with_ansi_colors(true); if let Ok(cmd) = config.read().editor() { - let temp_file = temp_file("-repl-", ".txt"); + let temp_file = temp_file("-repl-", ".md"); let command = process::Command::new(cmd); editor = editor.with_buffer_editor(command, temp_file); } -- cgit v1.2.3