mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +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 this_fname != cur_fname:
|
||||||
if context:
|
if context:
|
||||||
context.add_context()
|
context.add_context()
|
||||||
output += cur_fname + ":\n"
|
if output:
|
||||||
|
output += "\n"
|
||||||
|
output += cur_fname + ":\n\n"
|
||||||
output += context.format()
|
output += context.format()
|
||||||
context = None
|
context = None
|
||||||
elif cur_fname:
|
elif cur_fname:
|
||||||
|
@ -54,8 +56,8 @@ def to_tree(tags):
|
||||||
last_line=False,
|
last_line=False,
|
||||||
margin=0,
|
margin=0,
|
||||||
mark_lois=False,
|
mark_lois=False,
|
||||||
header_pad=1,
|
|
||||||
loi_pad=0,
|
loi_pad=0,
|
||||||
|
header_max=3,
|
||||||
)
|
)
|
||||||
cur_fname = this_fname
|
cur_fname = this_fname
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue