mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
refactor: Adjust padding in NoInsetCodeBlock syntax rendering
This commit is contained in:
parent
f89dabbd0a
commit
67bdccbda6
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue