From 07759813ed0efb0d70eaf2cc43a64133734d90f4 Mon Sep 17 00:00:00 2001 From: Kay Gosho Date: Sun, 27 Apr 2025 16:06:32 +0900 Subject: [PATCH] fix: add suffix "md" when opening editor in InputOutput class --- aider/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/io.py b/aider/io.py index 08c03ef53..90f581aab 100644 --- a/aider/io.py +++ b/aider/io.py @@ -595,7 +595,7 @@ class InputOutput: current_text = buffer.text # Open the editor with the current text - edited_text = pipe_editor(input_data=current_text) + edited_text = pipe_editor(input_data=current_text, suffix="md") # Replace the buffer with the edited text, strip any trailing newlines buffer.text = edited_text.rstrip("\n")