mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
fix: add suffix "md" when opening editor in InputOutput class
This commit is contained in:
parent
25a303935c
commit
07759813ed
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue