From fab713a6a8b2e814f92ffde238e449ebd4f33c07 Mon Sep 17 00:00:00 2001 From: "Matteo Landi (aider)" Date: Wed, 26 Mar 2025 13:01:53 +0100 Subject: [PATCH] fix: Handle Lisp semicolon comments in watch.py --- aider/watch.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/watch.py b/aider/watch.py index f6b77d18c..e7b115730 100644 --- a/aider/watch.py +++ b/aider/watch.py @@ -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 = "!"