mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +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)
|
||||
comments.append(comment)
|
||||
comment = comment.lower()
|
||||
comment = comment.lstrip("/#-")
|
||||
comment = comment.lstrip("/#-;") # Added semicolon for Lisp comments
|
||||
comment = comment.strip()
|
||||
if comment.startswith("ai!") or comment.endswith("ai!"):
|
||||
has_action = "!"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue