From 7caff6488a888977b0346b3c288ee461757df55f Mon Sep 17 00:00:00 2001 From: 95833 <987004590@qq.com> Date: Sun, 22 Dec 2024 19:24:38 +0800 Subject: [PATCH] Update references.py --- plugin/references.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/references.py b/plugin/references.py index c23707027..09e97cdd7 100644 --- a/plugin/references.py +++ b/plugin/references.py @@ -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 = config.map_uri_on_payload(uri, is_from_client_to_server=False) + file_path = config.map_server_uri_to_client_path(uri) point = Point.from_lsp(position) # get line of the reference, to showcase its use reference_line = get_line(window, file_path, point.row)