From 67bdccbda654bb03444382306b83f3341f987ec8 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 17 Mar 2025 21:17:02 -0700 Subject: [PATCH] refactor: Adjust padding in NoInsetCodeBlock syntax rendering --- aider/mdstream.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/mdstream.py b/aider/mdstream.py index c8469e63d..c38f84ce7 100755 --- a/aider/mdstream.py +++ b/aider/mdstream.py @@ -52,8 +52,7 @@ class NoInsetCodeBlock(CodeBlock): def __rich_console__(self, console, options): code = str(self.text).rstrip() - dump(code) - syntax = Syntax(code, self.lexer_name, theme=self.theme, word_wrap=True, padding=0) + syntax = Syntax(code, self.lexer_name, theme=self.theme, word_wrap=True, padding=(1, 0)) yield syntax