mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 16:25:00 +00:00
Fixed a bug in getinput.py where the completer now matches words case-insensitively.
This commit is contained in:
parent
43331aad89
commit
a76781b519
1 changed files with 1 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue