fix: Remove commented-out code in PathCompleter configuration

This commit is contained in:
Paul Gauthier 2024-09-27 16:39:25 -07:00 committed by Paul Gauthier (aider)
parent 7e1497e114
commit 369310a7c3

View file

@ -584,6 +584,7 @@ class Commands:
# Get the text before the cursor and strip leading spaces # Get the text before the cursor and strip leading spaces
text = document.text_before_cursor.lstrip() text = document.text_before_cursor.lstrip()
dump(text)
# Identify the command and extract text after it # Identify the command and extract text after it
command = "/read-only" command = "/read-only"
@ -598,7 +599,7 @@ class Commands:
path_completer = PathCompleter( path_completer = PathCompleter(
only_directories=False, only_directories=False,
expanduser=True, expanduser=True,
get_paths=[self.coder.root], #get_paths=[self.coder.root],
) )
# Use the new document for completions # Use the new document for completions