aboutsummaryrefslogtreecommitdiff
path: root/src/server/hover.odin
diff options
context:
space:
mode:
authorDaniel Gavin <danielgavin5@hotmail.com>2021-05-06 17:08:07 +0200
committerDaniel Gavin <danielgavin5@hotmail.com>2021-05-06 17:08:07 +0200
commit126553d5efff75d87c1a1505a42e922b5d13e9a9 (patch)
tree469579cb3d9a0783e4efd5230748da1b52194fb4 /src/server/hover.odin
parent9007c6fa37dff74c8abe2555f9da0420f0a81294 (diff)
started lazy creating signatures for procedures
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 d14cd34..771c867 100644
--- a/src/server/hover.odin
+++ b/src/server/hover.odin
@@ -126,7 +126,7 @@ get_hover_information :: proc(document: ^Document, position: common.Position) ->
if symbol, ok := resolve_type_expression(&ast_context, v.types[i]); ok {
symbol.name = name;
symbol.pkg = selector.name;
- symbol.signature = index.node_to_string(v.types[i]);
+ symbol.signature = common.node_to_string(v.types[i]);
hover.contents = write_hover_content(&ast_context, symbol);
return hover, true;
}