mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-29 00:35:00 +00:00
added header_max, more whitespace
This commit is contained in:
parent
057aa0a736
commit
6b41581f91
1 changed files with 4 additions and 2 deletions
|
@ -38,7 +38,9 @@ def to_tree(tags):
|
|||
if this_fname != cur_fname:
|
||||
if context:
|
||||
context.add_context()
|
||||
output += cur_fname + ":\n"
|
||||
if output:
|
||||
output += "\n"
|
||||
output += cur_fname + ":\n\n"
|
||||
output += context.format()
|
||||
context = None
|
||||
elif cur_fname:
|
||||
|
@ -54,8 +56,8 @@ def to_tree(tags):
|
|||
last_line=False,
|
||||
margin=0,
|
||||
mark_lois=False,
|
||||
header_pad=1,
|
||||
loi_pad=0,
|
||||
header_max=3,
|
||||
)
|
||||
cur_fname = this_fname
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue