mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 17:24:59 +00:00
fix: Handle Lisp semicolon comments in watch.py
This commit is contained in:
parent
7d5f1143af
commit
fab713a6a8
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ class FileWatcher:
|
||||||
line_nums.append(i)
|
line_nums.append(i)
|
||||||
comments.append(comment)
|
comments.append(comment)
|
||||||
comment = comment.lower()
|
comment = comment.lower()
|
||||||
comment = comment.lstrip("/#-")
|
comment = comment.lstrip("/#-;") # Added semicolon for Lisp comments
|
||||||
comment = comment.strip()
|
comment = comment.strip()
|
||||||
if comment.startswith("ai!") or comment.endswith("ai!"):
|
if comment.startswith("ai!") or comment.endswith("ai!"):
|
||||||
has_action = "!"
|
has_action = "!"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue