From a76781b519f3de47ff0dac1b5a1f060f7fa1db89 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 10 May 2023 10:57:13 -0700 Subject: [PATCH] Fixed a bug in getinput.py where the completer now matches words case-insensitively. --- aider/getinput.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/getinput.py b/aider/getinput.py index 60fa8f01f..2c0d5b4ec 100644 --- a/aider/getinput.py +++ b/aider/getinput.py @@ -40,7 +40,7 @@ class FileContentCompleter(Completer): last_word = words[-1] for word in self.words: - if word.startswith(last_word): + if word.lower().startswith(last_word.lower()): yield Completion(word, start_position=-len(last_word)) def canned_input(show_prompt):