From 369310a7c3c574a3c2f9ed5d355160dac38bb755 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 27 Sep 2024 16:39:25 -0700 Subject: [PATCH] fix: Remove commented-out code in PathCompleter configuration --- aider/commands.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/aider/commands.py b/aider/commands.py index ab2a8c794..7cebce1f7 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -584,6 +584,7 @@ class Commands: # Get the text before the cursor and strip leading spaces text = document.text_before_cursor.lstrip() + dump(text) # Identify the command and extract text after it command = "/read-only" @@ -598,7 +599,7 @@ class Commands: path_completer = PathCompleter( only_directories=False, expanduser=True, - get_paths=[self.coder.root], + #get_paths=[self.coder.root], ) # Use the new document for completions