Skip to content

Commit

Permalink
Revert "use workspace.ignoreFolders in references"
Browse files Browse the repository at this point in the history
This reverts commit 069c0c6.
  • Loading branch information
pappasam committed Aug 26, 2024
1 parent 18bbe41 commit 1eeca00
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jedi_language_server/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 1eeca00

Please sign in to comment.