aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDanielGavin <danielgavin5@hotmail.com>2025-09-27 22:19:47 +0200
committerDanielGavin <danielgavin5@hotmail.com>2025-09-27 22:19:47 +0200
commit4ef0fad18d82b8cd1f7bb40444302adbbeae5b9c (patch)
tree71afea9532fbc57d5fe987eb1a7d397ec464a8df
parent4a2a71e12d61be1cd8ca486d96de8dd47dd49df2 (diff)
Use the ranged argument from inlay hints to improve performance.inlay-range
-rw-r--r--src/server/requests.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/requests.odin b/src/server/requests.odin
index ce98931..860e8c4 100644
--- a/src/server/requests.odin
+++ b/src/server/requests.odin
@@ -1314,7 +1314,7 @@ request_inlay_hint :: proc(
document := document_get(inlay_params.textDocument.uri)
if document == nil do return .InternalError
- resolve_entire_file_cached(document)
+ resolve_ranged_file(document, inlay_params.range, context.temp_allocator)
file, file_ok := file_resolve_cache.files[document.uri.uri]
if !file_ok do return .InternalError