mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
style: fix indentation in comment instructions template
This commit is contained in:
parent
97e292e251
commit
a3a510308c
1 changed files with 5 additions and 4 deletions
|
@ -195,6 +195,7 @@ class FileWatcher:
|
||||||
# Convert comment line numbers to line indices (0-based)
|
# Convert comment line numbers to line indices (0-based)
|
||||||
lois = [ln - 1 for ln, _ in zip(line_nums, comments) if ln > 0]
|
lois = [ln - 1 for ln, _ in zip(line_nums, comments) if ln > 0]
|
||||||
|
|
||||||
|
# ai: just remove this comment!
|
||||||
context = TreeContext(
|
context = TreeContext(
|
||||||
rel_fname,
|
rel_fname,
|
||||||
code,
|
code,
|
||||||
|
@ -204,7 +205,7 @@ class FileWatcher:
|
||||||
last_line=False,
|
last_line=False,
|
||||||
margin=0,
|
margin=0,
|
||||||
mark_lois=False,
|
mark_lois=False,
|
||||||
loi_pad=0,
|
loi_pad=3,
|
||||||
show_top_of_file_parent_scope=False,
|
show_top_of_file_parent_scope=False,
|
||||||
)
|
)
|
||||||
context.lines_of_interest = set()
|
context.lines_of_interest = set()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue