aboutsummaryrefslogtreecommitdiff
path: root/src/server/hover.odin
diff options
context:
space:
mode:
authorBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-08-30 18:27:01 -0400
committerBrad Lewis <22850972+BradLewis@users.noreply.github.com>2025-08-30 18:27:01 -0400
commitee402dc793b8ff422513c83b3e90ed5a9acd59e3 (patch)
treef2967099f22b3182594b22b84cd3ebd3c7c40395 /src/server/hover.odin
parenta59413fd4193be3c3321cc7aa8974e5ad1c52f24 (diff)
Only clean identifiers for completions
Diffstat (limited to 'src/server/hover.odin')
-rw-r--r--src/server/hover.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/hover.odin b/src/server/hover.odin
index e76cf1f..af83d0b 100644
--- a/src/server/hover.odin
+++ b/src/server/hover.odin
@@ -433,7 +433,7 @@ get_hover_information :: proc(document: ^Document, position: common.Position) ->
}
if resolved, ok := resolve_type_identifier(&ast_context, ident); ok {
- construct_ident_symbol_info(&resolved, &ident, ast_context.document_package)
+ construct_ident_symbol_info(&resolved, ident.name, ast_context.document_package)
build_documentation(&ast_context, &resolved, false)
hover.contents = write_hover_content(&ast_context, resolved)