Skip to content

Commit

Permalink
Update references.py
Browse files Browse the repository at this point in the history
  • Loading branch information
95833 authored Dec 22, 2024
1 parent 607e5d5 commit ea4daf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/references.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def _group_locations_by_uri(
grouped_locations: dict[str, list[tuple[Point, str]]] = {}
for location in locations:
uri, position = get_uri_and_position_from_location(location)
file_path = parse_uri(uri)[1]
file_path = config.map_uri_on_payload(uri, is_from_client_to_server=False)
point = Point.from_lsp(position)
# get line of the reference, to showcase its use
reference_line = get_line(window, file_path, point.row)
Expand Down

0 comments on commit ea4daf3

Please sign in to comment.