From 1eeca008b17b13bb98d0d7e9c09a3fd5a3442082 Mon Sep 17 00:00:00 2001 From: Sam Roeca Date: Mon, 26 Aug 2024 15:41:34 -0400 Subject: [PATCH] Revert "use workspace.ignoreFolders in references" This reverts commit 069c0c6d0502eb63a29f98a7e153c64fe8d820dd. --- jedi_language_server/server.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/jedi_language_server/server.py b/jedi_language_server/server.py index 6858ffa..66d3d8a 100644 --- a/jedi_language_server/server.py +++ b/jedi_language_server/server.py @@ -420,11 +420,10 @@ def references( jedi_script = jedi_utils.script(server.project, document) jedi_lines = jedi_utils.line_column(params.position) names = jedi_script.get_references(*jedi_lines) - ignore_folders = server.initialization_options.workspace.symbols.ignore_folders locations = [ location for location in (jedi_utils.lsp_location(name) for name in names) - if location is not None and not _ignore_folder(location, ignore_folders) + if location is not None ] return locations if locations else None